Searched refs:PS_IV_LEN_BYTES (Results 1 – 4 of 4) sorted by relevance
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/crypto/ |
D | ps_crypto_interface.c | 39 static uint8_t ps_crypto_iv_buf[PS_IV_LEN_BYTES]; 130 (void)memcpy(ps_crypto_iv_buf, crypto->ref.iv, PS_IV_LEN_BYTES); in ps_crypto_set_iv() 182 (void)memcpy(crypto->ref.iv, ps_crypto_iv_buf, PS_IV_LEN_BYTES); in ps_crypto_get_iv() 199 crypto->ref.iv, PS_IV_LEN_BYTES, in ps_crypto_encrypt_and_tag() 230 crypto->ref.iv, PS_IV_LEN_BYTES, in ps_crypto_auth_and_decrypt() 249 crypto->ref.iv, PS_IV_LEN_BYTES, in ps_crypto_generate_auth_tag() 268 crypto->ref.iv, PS_IV_LEN_BYTES, in ps_crypto_authenticate()
|
D | ps_crypto_interface.h | 22 #define PS_IV_LEN_BYTES 12 macro 31 uint8_t iv[PS_IV_LEN_BYTES]; /*!< IV value of AEAD object */
|
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/ |
D | ps_encrypted_object.c | 31 #define PS_TAG_IV_LEN_MAX ((PS_TAG_LEN_BYTES > PS_IV_LEN_BYTES) ? \ 32 PS_TAG_LEN_BYTES : PS_IV_LEN_BYTES) 178 if (sizeof(ps_crypto_buf) < PS_MAX_ENCRYPTED_OBJ_SIZE + PS_IV_LEN_BYTES) { in ps_encrypted_object_read() 182 PS_MAX_ENCRYPTED_OBJ_SIZE + PS_IV_LEN_BYTES, in ps_encrypted_object_read()
|
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/ |
D | ps_key_management.rst | 111 crypto->ref.iv, PS_IV_LEN_BYTES,
|