Home
last modified time | relevance | path

Searched refs:statelen (Results 1 – 4 of 4) sorted by relevance

/linux/include/crypto/
H A Ddf_sp80090a.h13 static inline int crypto_drbg_ctr_df_datalen(u8 statelen, u8 blocklen) in crypto_drbg_ctr_df_datalen() argument
15 return statelen + /* df_data */ in crypto_drbg_ctr_df_datalen()
18 statelen + blocklen; /* temp */ in crypto_drbg_ctr_df_datalen()
26 u8 statelen);
H A Ddrbg.h63 __u8 statelen; /* maximum state length */ member
127 return drbg->core->statelen; in drbg_statelen()
141 return (drbg->core->statelen - drbg->core->blocklen_bytes); in drbg_keylen()
/linux/crypto/
H A Ddf_sp80090a.c117 u8 statelen) in crypto_drbg_ctr_df() argument
123 unsigned char *pad = df_data + statelen; in crypto_drbg_ctr_df()
144 keylen = statelen - blocklen_bytes; in crypto_drbg_ctr_df()
223 memset(temp, 0, statelen + blocklen_bytes); in crypto_drbg_ctr_df()
H A Ddrbg.c124 .statelen = 32, /* 256 bits as defined in 10.2.1 */
130 .statelen = 40, /* 320 bits as defined in 10.2.1 */
136 .statelen = 48, /* 384 bits as defined in 10.2.1 */
145 .statelen = 111, /* 888 bits */
151 .statelen = 111, /* 888 bits */
157 .statelen = 55, /* 440 bits */
166 .statelen = 48, /* block length of cipher */
172 .statelen = 32, /* block length of cipher */
178 .statelen = 64, /* block length of cipher */