Searched refs:rsa (Results 1 - 25 of 26) sorted by relevance

12

/u-boot/lib/rsa/
H A DMakefile8 obj-$(CONFIG_$(SPL_TPL_)RSA_VERIFY) += rsa-verify.o
9 obj-$(CONFIG_$(SPL_TPL_)RSA_VERIFY_WITH_PKEY) += rsa-keyprop.o
10 obj-$(CONFIG_RSA_SOFTWARE_EXP) += rsa-mod-exp.o
H A Drsa-sign.c17 #include <openssl/rsa.h>
634 RSA *rsa; local
648 rsa = (RSA *)EVP_PKEY_get0_RSA(pkey);
649 ret = rsa_get_params(rsa, &exponent, &n0_inv, &modulus, &r_squared);
690 ret = fdt_setprop_u32(keydest, node, "rsa,num-bits", bits);
692 ret = fdt_setprop_u32(keydest, node, "rsa,n0-inverse", n0_inv);
694 ret = fdt_setprop_u64(keydest, node, "rsa,exponent", exponent);
697 ret = fdt_add_bignum(keydest, node, "rsa,modulus", modulus,
701 ret = fdt_add_bignum(keydest, node, "rsa,r-squared", r_squared,
H A Drsa-mod-exp.c19 #include <u-boot/rsa.h>
20 #include <u-boot/rsa-mod-exp.h>
H A Drsa-verify.c22 #include <u-boot/rsa-mod-exp.h>
23 #include <u-boot/rsa.h>
104 * Generate an octet string used to check rsa signature.
321 * @key_len: Number of bytes in rsa key
458 prop.num_bits = fdtdec_get_int(blob, node, "rsa,num-bits", 0);
460 prop.n0inv = fdtdec_get_int(blob, node, "rsa,n0-inverse", 0);
462 prop.public_exponent = fdt_getprop(blob, node, "rsa,exponent", &length);
468 prop.modulus = fdt_getprop(blob, node, "rsa,modulus", NULL);
470 prop.rr = fdt_getprop(blob, node, "rsa,r-squared", NULL);
570 * rsa
[all...]
H A Drsa-keyprop.c14 #include <crypto/internal/rsa.h>
15 #include <u-boot/rsa-mod-exp.h>
/u-boot/drivers/crypto/rsa_mod_exp/
H A Dmod_exp_sw.c10 #include <u-boot/rsa-mod-exp.h>
H A Dmod_exp_uclass.c11 #include <u-boot/rsa-mod-exp.h>
/u-boot/test/lib/
H A DMakefile20 obj-$(CONFIG_UT_LIB_RSA) += rsa.o
H A Drsa.c14 #include <u-boot/rsa.h>
19 * openssl rsa -in private.pem -pubout -outform der -out public.der
/u-boot/tools/
H A DMakefile83 RSA_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(addprefix generated/lib/rsa/, \
84 rsa-sign.o rsa-verify.o \
85 rsa-mod-exp.o)
H A Dimage-sig-host.c12 #include <u-boot/rsa.h>
H A Dkwbimage.c23 #include <openssl/rsa.h>
463 RSA *rsa; local
477 rsa = PEM_read_RSAPrivateKey(f, 0, NULL, "");
478 if (!rsa) {
484 *p_rsa = rsa;
568 RSA *rsa; local
575 rsa = d2i_RSAPublicKey(key, &ptr, sizeof(src->key));
576 if (!rsa) {
H A Dsunxi_toc0.c18 #include <openssl/rsa.h>
/u-boot/drivers/crypto/fsl/
H A Dfsl_rsa.c17 #include <u-boot/rsa-mod-exp.h>
/u-boot/boot/
H A Dimage-sig.c13 #include <u-boot/rsa.h>
H A Dimage-fit-sig.c17 #include <u-boot/rsa.h>
/u-boot/board/xilinx/zynq/
H A Dcmds.c15 #include <u-boot/rsa.h>
16 #include <u-boot/rsa-mod-exp.h>
499 U_BOOT_CMD_MKENT(rsa, 3, 1, do_zynq_rsa, "", ""),
532 "rsa <baseaddr> - Verifies the authenticated and encrypted\n"
/u-boot/lib/aes/
H A Daes-encrypt.c14 #include <openssl/rsa.h>
/u-boot/lib/crypto/
H A Drsa_helper.c17 #include <crypto/internal/rsa.h>
H A Dpublic_key.c31 #include <u-boot/rsa.h>
115 if (strcmp(sig->pkey_algo, "rsa")) {
/u-boot/drivers/crypto/aspeed/
H A Daspeed_acry.c13 #include <u-boot/rsa-mod-exp.h>
/u-boot/lib/
H A DMakefile74 obj-$(CONFIG_$(SPL_)RSA) += rsa/
/u-boot/board/xilinx/zynqmp/
H A Dcmds.c349 U_BOOT_CMD_MKENT(rsa, 7, 0, do_zynqmp_rsa, "", ""),
412 "zynqmp rsa srcaddr srclen mod exp rsaop -\n"
/u-boot/lib/efi_loader/
H A Defi_signature.c19 #include <u-boot/rsa.h>
/u-boot/board/freescale/common/
H A Dfsl_validate.c16 #include <u-boot/rsa-mod-exp.h>

Completed in 231 milliseconds

12