Searched refs:key_bytes (Results 1 – 6 of 6) sorted by relevance
/mbedtls-3.5.0/programs/psa/ |
D | hmac_demo.c | 71 const unsigned char key_bytes[32] = { 0 }; variable 120 psa_set_key_bits(&attributes, 8 * sizeof(key_bytes)); // optional in hmac_demo() 123 key_bytes, sizeof(key_bytes), &key); in hmac_demo()
|
D | aead_demo.c | 94 const unsigned char key_bytes[32] = { 0x2a }; variable 168 PSA_CHECK(psa_import_key(&attributes, key_bytes, key_bits / 8, key)); in aead_prepare()
|
/mbedtls-3.5.0/programs/hash/ |
D | md_hmac_demo.c | 69 const unsigned char key_bytes[32] = { 0 }; variable 116 CHK(mbedtls_md_hmac_starts(&ctx, key_bytes, sizeof(key_bytes))); in hmac_demo()
|
/mbedtls-3.5.0/programs/cipher/ |
D | cipher_aead_demo.c | 91 const unsigned char key_bytes[32] = { 0x2a }; variable 157 CHK(mbedtls_cipher_setkey(ctx, key_bytes, key_len, MBEDTLS_ENCRYPT)); in aead_prepare()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_psa_crypto.function | 175 const unsigned char *key_bytes, 187 PSA_ASSERT(psa_import_key(&attributes, key_bytes, key_length, &key)); 207 const unsigned char *key_bytes, 219 PSA_ASSERT(psa_import_key(&attributes, key_bytes, key_length, &key));
|
/mbedtls-3.5.0/docs/proposed/ |
D | psa-driver-interface.md | 818 base_size + symmetric_factor * key_bytes 820 where `key_bytes = ((key_bits + 7) / 8)` is the key size in bytes.
|