Searched refs:additional_input_len (Results 1 – 8 of 8) sorted by relevance
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/ |
| D | cc3xx_drbg.c | 55 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_generate() argument 61 &state->ctr, len_bits, returned_bits, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_generate() 66 &state->hmac, len_bits, returned_bits, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_generate() 71 &state->hash, len_bits, returned_bits, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_generate() 81 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_reseed() argument 87 &state->ctr, entropy, entropy_len, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_reseed() 92 &state->hmac, entropy, entropy_len, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_reseed() 97 &state->hash, entropy, entropy_len, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_reseed()
|
| D | cc3xx_drbg_hmac.c | 147 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_hmac_generate() argument 162 if (additional_input_len && additional_input != NULL) { in cc3xx_lowlevel_drbg_hmac_generate() 164 data_len[0] = additional_input_len; in cc3xx_lowlevel_drbg_hmac_generate() 212 if (additional_input != NULL && additional_input_len != 0) { in cc3xx_lowlevel_drbg_hmac_generate() 214 data_len[0] = additional_input_len; in cc3xx_lowlevel_drbg_hmac_generate() 228 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_hmac_reseed() argument 234 const size_t data_len[3] = {entropy_len, additional_input_len, 0}; in cc3xx_lowlevel_drbg_hmac_reseed()
|
| D | cc3xx_drbg_ctr.c | 169 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_ctr_generate() argument 192 assert(additional_input_len <= CC3XX_DRBG_CTR_SEEDLEN); in cc3xx_lowlevel_drbg_ctr_generate() 194 err = cc3xx_drbg_ctr_update(state, additional_input, additional_input_len); in cc3xx_lowlevel_drbg_ctr_generate() 265 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_ctr_reseed() argument 275 assert(additional_input_len <= CC3XX_DRBG_CTR_SEEDLEN); in cc3xx_lowlevel_drbg_ctr_reseed() 283 for (idx = 0; idx < additional_input_len; idx++) { in cc3xx_lowlevel_drbg_ctr_reseed()
|
| D | cc3xx_drbg_hash.h | 67 const uint8_t *additional_input, size_t additional_input_len); 82 const uint8_t *additional_input, size_t additional_input_len);
|
| D | cc3xx_drbg_hmac.h | 69 const uint8_t *additional_input, size_t additional_input_len); 84 const uint8_t *additional_input, size_t additional_input_len);
|
| D | cc3xx_drbg.h | 87 const uint8_t *additional_input, size_t additional_input_len); 102 const uint8_t *additional_input, size_t additional_input_len);
|
| D | cc3xx_drbg_ctr.h | 98 const uint8_t *additional_input, size_t additional_input_len); 114 const uint8_t *additional_input, size_t additional_input_len);
|
| D | cc3xx_drbg_hash.c | 222 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_hash_generate() argument 244 if (additional_input_len && additional_input != NULL) { in cc3xx_lowlevel_drbg_hash_generate() 259 err = cc3xx_lowlevel_hash_update(additional_input, additional_input_len); in cc3xx_lowlevel_drbg_hash_generate() 307 const uint8_t *additional_input, size_t additional_input_len) in cc3xx_lowlevel_drbg_hash_reseed() argument 314 size_t data_len[3] = {sizeof(temp), entropy_len, additional_input_len}; in cc3xx_lowlevel_drbg_hash_reseed()
|