Home
last modified time | relevance | path

Searched refs:lens (Results 1 – 6 of 6) sorted by relevance

/lib/crypto/
A Dchacha20poly1305.c63 __le64 lens[2]; in __chacha20poly1305_encrypt() member
79 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt()
80 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
81 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt()
137 __le64 lens[2]; in __chacha20poly1305_decrypt() member
155 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt()
156 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt()
157 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt()
235 __le64 lens[2]; in chacha20poly1305_crypt_sg_inplace() member
302 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace()
[all …]
A Dchacha20poly1305-selftest.c8838 __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/
A Dinftrees.c23 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()
A Dinflate.c487 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()
A Dinftrees.h56 extern int zlib_inflate_table (codetype type, unsigned short *lens,
A Dinflate.h109 unsigned short lens[320]; /* temporary storage for code lengths */ member

Completed in 25 milliseconds