Home
last modified time | relevance | path

Searched refs:drbg_blocklen (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/crypto/
Ddrbg.c329 drbg_string_fill(&data, out, drbg_blocklen(drbg)); in drbg_ctr_bcc()
339 if (drbg_blocklen(drbg) == cnt) { in drbg_ctr_bcc()
408 unsigned char *iv = pad + drbg_blocklen(drbg); in drbg_ctr_df()
409 unsigned char *temp = iv + drbg_blocklen(drbg); in drbg_ctr_df()
425 memset(pad, 0, drbg_blocklen(drbg)); in drbg_ctr_df()
426 memset(iv, 0, drbg_blocklen(drbg)); in drbg_ctr_df()
443 padlen = (inputlen + sizeof(L_N) + 1) % (drbg_blocklen(drbg)); in drbg_ctr_df()
446 padlen = drbg_blocklen(drbg) - padlen; in drbg_ctr_df()
456 drbg_string_fill(&S1, iv, drbg_blocklen(drbg)); in drbg_ctr_df()
465 while (templen < (drbg_keylen(drbg) + (drbg_blocklen(drbg)))) { in drbg_ctr_df()
[all …]
/linux-6.6.21/include/crypto/
Ddrbg.h154 static inline __u8 drbg_blocklen(struct drbg_state *drbg) in drbg_blocklen() function