Lines Matching refs:inlen
30 int crypto_hash_sha512(unsigned char *out,const unsigned char *in,unsigned long long inlen) in crypto_hash_sha512() argument
35 unsigned long long bytes = inlen; in crypto_hash_sha512()
39 blocks(h,in,inlen); in crypto_hash_sha512()
40 in += inlen; in crypto_hash_sha512()
41 inlen &= 127; in crypto_hash_sha512()
42 in -= inlen; in crypto_hash_sha512()
44 for (i = 0;i < inlen;++i) padded[i] = in[i]; in crypto_hash_sha512()
45 padded[inlen] = 0x80; in crypto_hash_sha512()
47 if (inlen < 112) { in crypto_hash_sha512()
48 for (i = inlen + 1;i < 119;++i) padded[i] = 0; in crypto_hash_sha512()
60 for (i = inlen + 1;i < 247;++i) padded[i] = 0; in crypto_hash_sha512()