Searched refs:crypto (Results 1 - 25 of 41) sorted by relevance

12

/u-boot/boot/
H A Dimage-sig.c77 struct crypto_algo *crypto, *end; local
86 crypto = ll_entry_start(struct crypto_algo, cryptos);
88 for (; crypto < end; crypto++) {
89 if (!strcmp(crypto->name, name))
90 return crypto;
H A Dimage-fit-sig.c93 info->crypto = image_get_crypto_algo(algo_name);
99 if (!info->checksum || !info->crypto || !info->padding) {
130 if (info.crypto->verify(&info, &region, 1, fit_value, fit_value_len)) {
379 if (info.crypto->verify(&info, region, count, fit_value,
H A Dimage-pre-load.c103 info->sig_info.crypto = image_get_crypto_algo(info->sig_info.name);
204 ret = info->sig_info.crypto->verify(&info->sig_info, &reg, 1, sig, sig_len);
297 ret = info->sig_info.crypto->verify(&info->sig_info, &reg, 1, sig, sig_len);
/u-boot/include/crypto/
H A Dmscode.h8 #include <crypto/pkcs7.h>
10 #include <crypto/hash_info.h>
H A Dpkcs7_parser.h2 /* PKCS#7 crypto data parser internal definitions
12 #include <crypto/pkcs7.h>
13 #include <crypto/x509_parser.h>
25 bool unsupported_crypto; /* T if not usable due to missing crypto */
H A Dpkcs7.h2 /* PKCS#7 crypto data parser
13 #include <crypto/public_key.h>
H A Dx509_parser.h12 #include <crypto/public_key.h>
42 bool unsupported_key; /* T if key uses unsupported crypto */
43 bool unsupported_sig; /* T if signature uses unsupported crypto */
/u-boot/fs/btrfs/
H A DMakefile6 extent-io.o inode.o subvolume.o crypto/hash.o disk-io.o \
/u-boot/tools/
H A Dfdt_add_pubkey.c76 info->crypto = image_get_crypto_algo(algo_name);
78 if (!info->crypto) {
109 ret = info->crypto->add_verify_data(info, dest_blob);
H A Defivar.py15 from OpenSSL import crypto namespace
278 crt = crypto.load_certificate(crypto.FILETYPE_PEM, f.read())
280 pkey = crypto.load_privatekey(crypto.FILETYPE_PEM, f.read())
286 bio_in = crypto._new_mem_buf(buf)
287 p7 = crypto._lib.PKCS7_sign(crt._x509, pkey._pkey, crypto._ffi.NULL, bio_in,
289 bio_out = crypto._new_mem_buf()
290 crypto
[all...]
/u-boot/test/dm/
H A Decdsa.c3 #include <crypto/ecdsa-uclass.h>
/u-boot/lib/crypto/
H A Dmscode_parser.c15 #include <crypto/pkcs7.h>
17 #include <crypto/mscode.h>
H A Dpkcs7_verify.c4 * Imported from crypto/asymmetric_keys/pkcs7_verify.c of linux 5.7
20 #include <crypto/public_key.h>
21 #include <crypto/pkcs7_parser.h>
28 #include <crypto/hash.h>
29 #include <crypto/hash_info.h>
30 #include <crypto/public_key.h>
477 * crypto module to go further. Note, however, we don't want to set
581 * crypto modules couldn't be found.
H A Dpublic_key.c2 /* In-software asymmetric public-key crypto subtype
4 * See Documentation/crypto/asymmetric-keys.txt
28 #include <crypto/public_key.h>
33 #include <crypto/akcipher.h>
69 * from <linux>/crypto/asymmetric_keys/signature.c
127 info.crypto = image_get_crypto_algo(info.name);
128 if (!info.checksum || !info.crypto) {
129 pr_err("<%s> not supported on image_get_(checksum|crypto)_algo()\n",
156 * Determine the crypto algorithm name.
H A Drsa_helper.c17 #include <crypto/internal/rsa.h>
H A Dx509_public_key.c2 /* Instantiate a public key crypto key from an X.509 Certificate
21 #include <crypto/x509_parser.h>
28 #include <crypto/hash.h>
/u-boot/lib/ecdsa/
H A Decdsa-libcrypto.c47 ctx->signature = malloc(info->crypto->key_len * 2);
183 if (key_len_bytes != info->crypto->key_len) {
185 info->crypto->key_len * 8, key_len_bytes * 8);
201 ecdsa_sig_encode_raw(ctx->signature, sig, info->crypto->key_len);
211 sig = ecdsa_sig_from_raw(ctx->signature, info->crypto->key_len);
230 if (sig_len != info->crypto->key_len * 2) {
251 *sig_len = info->crypto->key_len * 2;
H A Decdsa-verify.c11 #include <crypto/ecdsa-uclass.h>
/u-boot/arch/arm/mach-tegra/
H A DMakefile19 obj-$(CONFIG_$(SPL_)TEGRA_CRYPTO) += crypto.o
H A Dcrypto.c10 #include <asm/arch-tegra/crypto.h>
144 * Tegra crypto group
/u-boot/arch/arm/mach-stm32mp/
H A Decdsa_romapi.c12 #include <crypto/ecdsa-uclass.h>
/u-boot/arch/arm/mach-tegra/tegra30/
H A Dbct.c10 #include <asm/arch-tegra/crypto.h>
/u-boot/arch/arm/mach-tegra/tegra20/
H A Dbct.c10 #include <asm/arch-tegra/crypto.h>
/u-boot/lib/rsa/
H A Drsa-verify.c413 info->crypto->key_len);
478 info->crypto->key_len);
565 uint8_t hash[info->crypto->key_len];
573 info->crypto->key_len) {
575 __func__, info->checksum->name, info->crypto->name);
/u-boot/drivers/
H A DMakefile52 obj-$(CONFIG_SPL_CRYPTO) += crypto/
90 obj-y += crypto/

Completed in 230 milliseconds

12