Function report |
Source Code:lib\crypto\poly1305.c |
Create Date:2022-07-28 06:47:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:poly1305_core_setkey
Proto:void poly1305_core_setkey(struct poly1305_key *key, const u8 *raw_key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct poly1305_key * | key | |
| const u8 * | raw_key |
| 33 | key, base 2^26 [0] = get_unaligned_le32(raw_key + 0) >> 0 & 0x3ffffff |
| 34 | key, base 2^26 [1] = get_unaligned_le32(raw_key + 3) >> 2 & 0x3ffff03 |
| 35 | key, base 2^26 [2] = get_unaligned_le32(raw_key + 6) >> 4 & 0x3ffc0ff |
| 36 | key, base 2^26 [3] = get_unaligned_le32(raw_key + 9) >> 6 & 0x3f03fff |
| 37 | key, base 2^26 [4] = get_unaligned_le32(raw_key + 12) >> 8 & 0x00fffff |
| Name | Describe |
|---|---|
| poly1305_init_generic | |
| crypto_poly1305_setdesckey | Poly1305 requires a unique key for each tag, which implies that we can't set* it on the tfm that gets accessed by multiple users simultaneously. Instead we* expect the key as the first 32 bytes in the update() call. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |