Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 11 of 11) sorted by relevance

/arm-trusted-firmware-2.8.0/tools/encrypt_fw/src/
A Dencrypt.c30 unsigned char key[KEY_SIZE], iv[IV_SIZE], tag[TAG_SIZE]; in gcm_encrypt() local
54 if (sscanf(&nonce_string[j], "%02hhx", &iv[i]) != 1) { in gcm_encrypt()
93 ret = EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv); in gcm_encrypt()
129 memcpy(header.iv, iv, IV_SIZE); in gcm_encrypt()
/arm-trusted-firmware-2.8.0/include/drivers/st/
A Dstm32_saes.h44 uint32_t iv[4]; /* In HW byte order */ member
51 const void *key, size_t key_len, const void *iv, size_t iv_len);
/arm-trusted-firmware-2.8.0/drivers/auth/
A Dcrypto_mod.c158 unsigned int key_flags, const void *iv, in crypto_mod_auth_decrypt() argument
167 assert(iv != NULL); in crypto_mod_auth_decrypt()
173 key_len, key_flags, iv, iv_len, tag, in crypto_mod_auth_decrypt()
/arm-trusted-firmware-2.8.0/include/tools_share/
A Dfirmware_encrypted.h38 uint8_t iv[ENC_MAX_IV_SIZE]; member
/arm-trusted-firmware-2.8.0/include/drivers/auth/
A Dcrypto_mod.h83 unsigned int key_flags, const void *iv,
110 unsigned int key_flags, const void *iv,
/arm-trusted-firmware-2.8.0/drivers/auth/mbedtls/
A Dmbedtls_crypto.c283 unsigned int key_len, const void *iv, in aes_gcm_decrypt() argument
303 rc = mbedtls_gcm_starts(&ctx, MBEDTLS_GCM_DECRYPT, iv, iv_len, NULL, 0); in aes_gcm_decrypt()
351 unsigned int key_flags, const void *iv, in auth_decrypt() argument
361 rc = aes_gcm_decrypt(data_ptr, len, key, key_len, iv, iv_len, in auth_decrypt()
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a3k/common/
A Da3700_common.mk211 -iv `cat $(IMAGESPATH)/iv.txt` -p
216 -iv `cat $(IMAGESPATH)/iv.txt` -p
/arm-trusted-firmware-2.8.0/drivers/st/crypto/
A Dstm32_saes.c257 mmio_write_32(ctx->base + _SAES_IVR0 + i * sizeof(uint32_t), ctx->iv[i]); in saes_write_iv()
340 ctx->iv[i] = mmio_read_32(ctx->base + _SAES_IVR0 + i * sizeof(uint32_t)); in save_context()
427 const void *key, size_t key_size, const void *iv, size_t iv_size) in stm32_saes_init() argument
441 assert((uintptr_t)iv % __alignof__(uint32_t) == 0); in stm32_saes_init()
443 iv_u32 = iv; in stm32_saes_init()
552 if ((iv == NULL) || (iv_size != AES_IVSIZE)) { in stm32_saes_init()
557 mmio_write_32((uintptr_t)(ctx->iv + i), htobe32(iv_u32[3 - i])); in stm32_saes_init()
/arm-trusted-firmware-2.8.0/plat/st/common/
A Dstm32mp_crypto_lib.c565 const void *iv, unsigned int iv_len, in stm32_decrypt_aes_gcm() argument
578 key_len, iv, iv_len); in stm32_decrypt_aes_gcm()
616 const void *iv, unsigned int iv_len, const void *tag, in crypto_auth_decrypt() argument
630 memcpy(real_iv, iv, iv_len); in crypto_auth_decrypt()
/arm-trusted-firmware-2.8.0/drivers/io/
A Dio_encrypted.c207 key_len, key_flags, header.iv, in enc_file_read()
/arm-trusted-firmware-2.8.0/docs/design/
A Dauth-framework.rst952 unsigned int key_flags, const void *iv,

Completed in 18 milliseconds