Home
last modified time | relevance | path

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

/u-boot/include/u-boot/
A Daes.h15 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 Daes-encrypt.c28 unsigned char **cipher, int *cipher_len) in image_aes_encrypt() argument
49 if (EVP_EncryptInit_ex(ctx, info->cipher->calculate_type(), in image_aes_encrypt()
72 *cipher = buf; in image_aes_encrypt()
134 info->iv, info->cipher->iv_len); in image_aes_add_cipher_data()
138 info->iv, info->cipher->iv_len); in image_aes_add_cipher_data()
142 info->key, info->cipher->key_len); in image_aes_add_cipher_data()
146 info->cipher->key_len); in image_aes_add_cipher_data()
A Daes-decrypt.c14 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/boot/
A Dimage-cipher.c109 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 DMakefile45 obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
/u-boot/drivers/crypto/nuvoton/
A DKconfig7 key and is widely used as a streaming cipher. This command only
/u-boot/tools/
A Dimage-host.c404 info->cipher = image_get_cipher_algo(algo_name); in fit_image_setup_cipher()
405 if (!info->cipher) { in fit_image_setup_cipher()
413 info->key = malloc(info->cipher->key_len); in fit_image_setup_cipher()
420 info->cipher->key_len); in fit_image_setup_cipher()
424 info->iv = malloc(info->cipher->iv_len); in fit_image_setup_cipher()
436 info->cipher->iv_len); in fit_image_setup_cipher()
439 ret = get_random_data((void *)info->iv, info->cipher->iv_len); in fit_image_setup_cipher()
497 ret = info.cipher->encrypt(&info, data, size, in fit_image_process_cipher()
509 ret = info.cipher->add_cipher_data(&info, keydest, fit, node_noffset); in fit_image_process_cipher()
A DMakefile76 FIT_CIPHER_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := boot/image-cipher.o
/u-boot/include/
A Dimage.h1706 struct cipher_algo *cipher; /* Cipher algorithm information */ member
1724 unsigned char **cipher, int *cipher_len);
1730 const void *cipher, size_t cipher_len,
/u-boot/lib/
A DKconfig413 and is widely used as a streaming cipher. Different key lengths are
/u-boot/cmd/
A DKconfig2376 and is widely used as a streaming cipher. Different key lengths are

Completed in 37 milliseconds