Searched refs:cipher (Results 1 – 10 of 10) sorted by relevance
/u-boot/include/u-boot/ |
A D | aes.h | 15 unsigned char **cipher, int *cipher_len); 21 unsigned char **cipher, int *cipher_len) in image_aes_encrypt() argument 35 const void *cipher, size_t cipher_len, 39 const void *cipher, size_t cipher_len, in image_aes_decrypt() argument
|
/u-boot/lib/aes/ |
A D | aes-encrypt.c | 25 unsigned char **cipher, int *cipher_len) in image_aes_encrypt() argument 46 if (EVP_EncryptInit_ex(ctx, info->cipher->calculate_type(), in image_aes_encrypt() 69 *cipher = buf; in image_aes_encrypt() 131 info->iv, info->cipher->iv_len); in image_aes_add_cipher_data() 135 info->iv, info->cipher->iv_len); in image_aes_add_cipher_data() 139 info->key, info->cipher->key_len); in image_aes_add_cipher_data() 143 info->cipher->key_len); in image_aes_add_cipher_data()
|
A D | aes-decrypt.c | 14 const void *cipher, size_t cipher_len, in image_aes_decrypt() argument 19 unsigned int aes_blocks, key_len = info->cipher->key_len; in image_aes_decrypt() 37 (u8 *)cipher, *data, aes_blocks); in image_aes_decrypt()
|
/u-boot/common/ |
A D | image-cipher.c | 109 info->cipher = image_get_cipher_algo(algo_name); in fit_image_setup_decrypt() 110 if (!info->cipher) { in fit_image_setup_decrypt() 171 ret = info.cipher->decrypt(&info, data_ciphered, size_ciphered, in fit_image_decrypt_data()
|
A D | Makefile | 116 obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
|
/u-boot/tools/ |
A D | image-host.c | 390 info->cipher = image_get_cipher_algo(algo_name); in fit_image_setup_cipher() 391 if (!info->cipher) { in fit_image_setup_cipher() 399 info->key = malloc(info->cipher->key_len); in fit_image_setup_cipher() 406 info->cipher->key_len); in fit_image_setup_cipher() 410 info->iv = malloc(info->cipher->iv_len); in fit_image_setup_cipher() 422 info->cipher->iv_len); in fit_image_setup_cipher() 425 ret = get_random_data((void *)info->iv, info->cipher->iv_len); in fit_image_setup_cipher() 483 ret = info.cipher->encrypt(&info, data, size, in fit_image_process_cipher() 495 ret = info.cipher->add_cipher_data(&info, keydest, fit, node_noffset); in fit_image_process_cipher()
|
A D | Makefile | 62 FIT_CIPHER_OBJS-$(CONFIG_FIT_CIPHER) := common/image-cipher.o
|
/u-boot/include/ |
A D | image.h | 1475 struct cipher_algo *cipher; /* Cipher algorithm information */ member 1493 unsigned char **cipher, int *cipher_len); 1499 const void *cipher, size_t cipher_len,
|
/u-boot/lib/ |
A D | Kconfig | 294 and is widely used as a streaming cipher. Different key lengths are
|
/u-boot/cmd/ |
A D | Kconfig | 1957 and is widely used as a streaming cipher. Different key lengths are
|
Completed in 17 milliseconds