Searched refs:lens (Results 1 – 6 of 6) sorted by relevance
/lib/crypto/ |
D | chacha20poly1305.c | 64 __le64 lens[2]; in __chacha20poly1305_encrypt() member 80 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt() 81 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt() 82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt() 135 __le64 lens[2]; in __chacha20poly1305_decrypt() member 153 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt() 154 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt() 155 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt() 233 __le64 lens[2]; in chacha20poly1305_crypt_sg_inplace() member 300 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace() [all …]
|
D | chacha20poly1305-selftest.c | 8838 __le64 lens[2]; in chacha20poly1305_encrypt_bignonce() member 8855 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_encrypt_bignonce() 8856 b.lens[1] = cpu_to_le64(src_len); in chacha20poly1305_encrypt_bignonce() 8857 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in chacha20poly1305_encrypt_bignonce()
|
/lib/zlib_inflate/ |
D | inftrees.c | 23 int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, in zlib_inflate_table() argument 96 count[lens[sym]]++; in zlib_inflate_table() 133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table() 242 len = lens[work[sym]]; in zlib_inflate_table()
|
D | inflate.c | 487 state->lens[order[state->have++]] = (unsigned short)BITS(3); in zlib_inflate() 491 state->lens[order[state->have++]] = 0; in zlib_inflate() 495 ret = zlib_inflate_table(CODES, state->lens, 19, &(state->next), in zlib_inflate() 515 state->lens[state->have++] = this.val; in zlib_inflate() 526 len = state->lens[state->have - 1]; in zlib_inflate() 550 state->lens[state->have++] = (unsigned short)len; in zlib_inflate() 561 ret = zlib_inflate_table(LENS, state->lens, state->nlen, &(state->next), in zlib_inflate() 570 ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist, in zlib_inflate()
|
D | inftrees.h | 56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
|
D | inflate.h | 109 unsigned short lens[320]; /* temporary storage for code lengths */ member
|