/u-boot/lib/rsa/ |
H A D | Makefile | 8 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 D | rsa-sign.c | 17 #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 D | rsa-mod-exp.c | 19 #include <u-boot/rsa.h> 20 #include <u-boot/rsa-mod-exp.h>
|
H A D | rsa-verify.c | 22 #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 D | rsa-keyprop.c | 14 #include <crypto/internal/rsa.h> 15 #include <u-boot/rsa-mod-exp.h>
|
/u-boot/drivers/crypto/rsa_mod_exp/ |
H A D | mod_exp_sw.c | 11 #include <u-boot/rsa-mod-exp.h>
|
H A D | mod_exp_uclass.c | 12 #include <u-boot/rsa-mod-exp.h>
|
/u-boot/test/lib/ |
H A D | Makefile | 20 obj-$(CONFIG_UT_LIB_RSA) += rsa.o
|
H A D | rsa.c | 15 #include <u-boot/rsa.h> 20 * openssl rsa -in private.pem -pubout -outform der -out public.der
|
/u-boot/tools/ |
H A D | Makefile | 83 RSA_OBJS-$(CONFIG_TOOLS_LIBCRYPTO) := $(addprefix generated/lib/rsa/, \ 84 rsa-sign.o rsa-verify.o \ 85 rsa-mod-exp.o)
|
H A D | image-sig-host.c | 12 #include <u-boot/rsa.h>
|
H A D | kwbimage.c | 23 #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 D | sunxi_toc0.c | 18 #include <openssl/rsa.h>
|
/u-boot/drivers/crypto/fsl/ |
H A D | fsl_rsa.c | 18 #include <u-boot/rsa-mod-exp.h>
|
/u-boot/boot/ |
H A D | image-sig.c | 14 #include <u-boot/rsa.h>
|
H A D | image-fit-sig.c | 18 #include <u-boot/rsa.h>
|
/u-boot/board/xilinx/zynq/ |
H A D | cmds.c | 16 #include <u-boot/rsa.h> 17 #include <u-boot/rsa-mod-exp.h> 500 U_BOOT_CMD_MKENT(rsa, 3, 1, do_zynq_rsa, "", ""), 533 "rsa <baseaddr> - Verifies the authenticated and encrypted\n"
|
/u-boot/lib/aes/ |
H A D | aes-encrypt.c | 14 #include <openssl/rsa.h>
|
/u-boot/lib/crypto/ |
H A D | rsa_helper.c | 17 #include <crypto/internal/rsa.h>
|
H A D | public_key.c | 31 #include <u-boot/rsa.h> 115 if (strcmp(sig->pkey_algo, "rsa")) {
|
/u-boot/drivers/crypto/aspeed/ |
H A D | aspeed_acry.c | 14 #include <u-boot/rsa-mod-exp.h>
|
/u-boot/lib/ |
H A D | Makefile | 74 obj-$(CONFIG_$(SPL_)RSA) += rsa/
|
/u-boot/board/xilinx/zynqmp/ |
H A D | cmds.c | 348 U_BOOT_CMD_MKENT(rsa, 7, 0, do_zynqmp_rsa, "", ""), 411 "zynqmp rsa srcaddr srclen mod exp rsaop -\n"
|
/u-boot/lib/efi_loader/ |
H A D | efi_signature.c | 19 #include <u-boot/rsa.h>
|
/u-boot/board/freescale/common/ |
H A D | fsl_validate.c | 16 #include <u-boot/rsa-mod-exp.h>
|