Home
last modified time | relevance | path

Searched refs:ilen (Results 1 – 3 of 3) sorted by relevance

/lib/842/
D842_compress.c91 u64 ilen; member
477 int sw842_compress(const u8 *in, unsigned int ilen, in sw842_compress() argument
494 p->ilen = ilen; in sw842_compress()
504 if (sw842_strict && (ilen % 8)) { in sw842_compress()
505 pr_err("Using strict mode, can't compress len %d\n", ilen); in sw842_compress()
510 if (unlikely(ilen < 8)) in sw842_compress()
516 while (p->ilen > 7) { in sw842_compress()
552 p->ilen -= 8; in sw842_compress()
562 if (p->ilen > 0) { in sw842_compress()
563 ret = add_short_data_template(p, p->ilen); in sw842_compress()
[all …]
D842_decompress.c53 u64 ilen; member
101 else if (p->ilen < 8 && bits > 32 && bits <= 56) in next_bits()
103 else if (p->ilen < 4 && bits > 16 && bits <= 24) in next_bits()
106 if (DIV_ROUND_UP(bits, 8) > p->ilen) in next_bits()
124 p->ilen -= p->bit / 8; in next_bits()
277 int sw842_decompress(const u8 *in, unsigned int ilen, in sw842_decompress() argument
287 p.ilen = ilen; in sw842_decompress()
/lib/crypto/
Dchacha20poly1305-selftest.c19 size_t ilen, alen, nlen; member
8905 chacha20poly1305_enc_vectors[i].ilen, in chacha20poly1305_selftest()
8913 chacha20poly1305_enc_vectors[i].ilen + in chacha20poly1305_selftest()
8925 chacha20poly1305_enc_vectors[i].ilen); in chacha20poly1305_selftest()
8927 chacha20poly1305_enc_vectors[i].ilen + POLY1305_DIGEST_SIZE); in chacha20poly1305_selftest()
8929 chacha20poly1305_enc_vectors[i].ilen, in chacha20poly1305_selftest()
8936 chacha20poly1305_enc_vectors[i].ilen + in chacha20poly1305_selftest()
8948 chacha20poly1305_dec_vectors[i].ilen, in chacha20poly1305_selftest()
8957 chacha20poly1305_dec_vectors[i].ilen - in chacha20poly1305_selftest()
8967 chacha20poly1305_dec_vectors[i].ilen); in chacha20poly1305_selftest()
[all …]