Home
last modified time | relevance | path

Searched refs:personalization (Results 1 – 7 of 7) sorted by relevance

/mcuboot-2.7.6/ext/tinycrypt/tests/
Dtest_hmac_prng.c95 uint8_t *personalization = (uint8_t *) "HOSTNAME"; in main() local
99 if (tc_hmac_prng_init(&h, personalization, in main()
100 sizeof(personalization)) == 0) { in main()
Dtest_ctr_prng.c261 uint8_t * personalization = 0; in executePRNG_TestVector() local
276 personalization = hexStringToBytes(vector.personalizationString); in executePRNG_TestVector()
290 (void)tc_ctr_prng_init(&ctx, entropy, entropylen, personalization, plen); in executePRNG_TestVector()
305 free(personalization); in executePRNG_TestVector()
/mcuboot-2.7.6/ext/tinycrypt/lib/source/
Dhmac_prng.c113 const uint8_t *personalization, in tc_hmac_prng_init() argument
119 personalization == (uint8_t *) 0 || in tc_hmac_prng_init()
130 update(prng, personalization, plen); in tc_hmac_prng_init()
Dctr_prng.c120 uint8_t const * const personalization, in tc_ctr_prng_init() argument
129 if (0 != personalization) { in tc_ctr_prng_init()
137 memcpy(personalization_buf, personalization, len); in tc_ctr_prng_init()
/mcuboot-2.7.6/ext/tinycrypt/lib/include/tinycrypt/
Dhmac_prng.h116 const uint8_t *personalization,
Dctr_prng.h104 uint8_t const * const personalization,
/mcuboot-2.7.6/ext/tinycrypt/documentation/
Dtinycrypt.rst151 step: entropy seed, personalization and a nonce (which is not implemented).
152 TinyCrypt requires the personalization byte array and automatically creates