Home
last modified time | relevance | path

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

/crypto/
Dsm2.c221 unsigned int inlen; in sm2_z_digest_update() local
223 in = mpi_get_buffer(m, &inlen, NULL); in sm2_z_digest_update()
227 if (inlen < pbytes) { in sm2_z_digest_update()
229 crypto_sm3_update(desc, zero, pbytes - inlen); in sm2_z_digest_update()
230 crypto_sm3_update(desc, in, inlen); in sm2_z_digest_update()
231 } else if (inlen > pbytes) { in sm2_z_digest_update()
233 crypto_sm3_update(desc, in + inlen - pbytes, pbytes); in sm2_z_digest_update()
235 crypto_sm3_update(desc, in, inlen); in sm2_z_digest_update()
Dsha3_generic.c216 unsigned int i, inlen = sctx->partial; in crypto_sha3_final() local
220 sctx->buf[inlen++] = 0x06; in crypto_sha3_final()
221 memset(sctx->buf + inlen, 0, sctx->rsiz - inlen); in crypto_sha3_final()
Dblake2b_generic.c126 const u8 *in, unsigned int inlen) in crypto_blake2b_update_generic() argument
128 return crypto_blake2b_update(desc, in, inlen, blake2b_compress_generic); in crypto_blake2b_update_generic()
Dtestmgr.h30237 int inlen, outlen; member
30249 .inlen = 70,
30259 .inlen = 191,
30285 .inlen = 122,
30307 .inlen = 38,
30321 .inlen = 70,
30332 .inlen = 191,
30359 .inlen = 128,
30381 .inlen = 44,
30399 .inlen = 70,
[all …]
Ddrbg.c1813 u8 *inbuf, u32 inlen, in drbg_kcapi_sym_ctr() argument
1822 sg_set_buf(sg_in, inbuf, inlen); in drbg_kcapi_sym_ctr()
1825 inlen = scratchpad_use; in drbg_kcapi_sym_ctr()
1831 u32 cryptlen = min3(inlen, outlen, (u32)DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
Dtestmgr.c3194 ilen = ctemplate[i].inlen; in test_comp()
3214 if (dlen != ctemplate[i].inlen) { in test_comp()
3223 ctemplate[i].inlen)) { in test_comp()
3238 ilen = dtemplate[i].inlen; in test_comp()
3298 int ilen = ctemplate[i].inlen; in test_acomp()
3350 if (req->dlen != ctemplate[i].inlen) { in test_acomp()
3375 int ilen = dtemplate[i].inlen; in test_acomp()