Home
last modified time | relevance | path

Searched refs:rsa (Results 1 – 12 of 12) sorted by relevance

/rk3399_rockchip-uboot/lib/rsa/
H A DMakefile10 obj-$(CONFIG_$(SPL_)FIT_SIGNATURE) += rsa-verify.o rsa-checksum.o
11 obj-$(CONFIG_RSA_SOFTWARE_EXP) += rsa-mod-exp.o
H A Drsa-sign.c62 RSA *rsa; in rsa_pem_get_pub_key() local
92 rsa = EVP_PKEY_get1_RSA(key); in rsa_pem_get_pub_key()
93 if (!rsa) { in rsa_pem_get_pub_key()
101 *rsap = rsa; in rsa_pem_get_pub_key()
129 RSA *rsa; in rsa_engine_get_pub_key() local
155 rsa = EVP_PKEY_get1_RSA(key); in rsa_engine_get_pub_key()
156 if (!rsa) { in rsa_engine_get_pub_key()
163 *rsap = rsa; in rsa_engine_get_pub_key()
201 RSA *rsa; in rsa_pem_get_priv_key() local
213 rsa = PEM_read_RSAPrivateKey(f, 0, NULL, path); in rsa_pem_get_priv_key()
[all …]
/rk3399_rockchip-uboot/scripts/
H A Dfit-core.sh359 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,r-squared 0x0
361 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
364 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
368 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
369 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
370 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
468 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,r-squared 0x0
470 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
472 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
475 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
[all …]
H A Dfit-sign.sh371 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,r-squared 0x0
373 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
376 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
380 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
381 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
382 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
494 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,r-squared 0x0
496 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,np 0x0
498 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
501 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,c 0x0
[all …]
H A Datf.sh21 --rsa)
/rk3399_rockchip-uboot/tools/
H A DMakefile82 RSA_OBJS-$(CONFIG_FIT_SIGNATURE) := $(addprefix lib/rsa/, \
83 rsa-sign.o rsa-verify.o rsa-checksum.o \
84 rsa-mod-exp.o)
H A Dkwbimage.c392 RSA *rsa; in kwb_load_rsa_key() local
406 rsa = PEM_read_RSAPrivateKey(f, 0, NULL, ""); in kwb_load_rsa_key()
407 if (!rsa) { in kwb_load_rsa_key()
413 *p_rsa = rsa; in kwb_load_rsa_key()
497 RSA *rsa; in kwb_import_pubkey() local
504 rsa = d2i_RSAPublicKey(key, &ptr, sizeof(src->key)); in kwb_import_pubkey()
505 if (!rsa) { in kwb_import_pubkey()
/rk3399_rockchip-uboot/doc/uImage.FIT/
H A Dsignature.txt61 placed alongside rsa.c, and its functions added to the table in image-sig.c
78 $ openssl rsa -in keys/dev.key -pubout
161 - rsa,num-bits: Number of key bits (e.g. 2048)
162 - rsa,modulus: Modulus (N) as a big-endian multi-word integer
163 - rsa,exponent: Public exponent (E) as a 64 bit unsigned integer
164 - rsa,r-squared: (2^num-bits)^2 as a big-endian multi-word integer
165 - rsa,n0-inverse: -1 / modulus[0] mod 2^32
H A Dbeaglebone_vboot.txt477 rsa,r-squared
478 rsa,modulus
479 rsa,n0-inverse
480 rsa,num-bits
/rk3399_rockchip-uboot/lib/
H A DMakefile56 obj-$(CONFIG_$(SPL_TPL_)RSA) += rsa/
H A DKconfig128 source lib/rsa/Kconfig
/rk3399_rockchip-uboot/
H A DKconfig294 bool "Enable hardware crypto for FIT image checksum and rsa verify"
297 Enable hardware crypto for FIT image checksum and rsa verify.
361 bool "Enable SPL hardware crypto for FIT image checksum and rsa verify"
364 Enable SPL hardware crypto for FIT image checksum and rsa verify.