Home
last modified time | relevance | path

Searched refs:exponent (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-mod-exp.c136 uint64_t exponent; in num_public_exponent_bits() local
138 const uint max_bits = (sizeof(exponent) * 8); in num_public_exponent_bits()
140 exponent = key->exponent; in num_public_exponent_bits()
143 if (!exponent) { in num_public_exponent_bits()
149 if (!(exponent >>= 1)) { in num_public_exponent_bits()
166 return key->exponent & (1ULL << pos); in is_public_exponent_bit_set()
269 key.exponent = RSA_DEFAULT_PUBEXP; in rsa_mod_exp_sw()
279 key.exponent = fdt64_to_cpu(tmp); in rsa_mod_exp_sw()
H A Drsa-sign.c609 int rsa_get_params(RSA *key, uint64_t *exponent, uint32_t *n0_invp, in rsa_get_params() argument
642 if (0 != rsa_get_exponent(key, exponent)) in rsa_get_params()
855 uint64_t exponent; in rsa_add_verify_data() local
873 ret = rsa_get_params(rsa, &exponent, &n0_inv, &modulus, in rsa_add_verify_data()
919 ret = fdt_setprop_u64(keydest, node, "rsa,exponent", exponent); in rsa_add_verify_data()
/rk3399_rockchip-uboot/arch/arm/mach-omap2/am33xx/
H A Dclock_am33xx.c246 u32 exponent; in set_mpu_spreadspectrum() local
268 exponent = 0; in set_mpu_spreadspectrum()
270 while ((mantissa > 127) && (exponent < 7)) { in set_mpu_spreadspectrum()
271 exponent++; in set_mpu_spreadspectrum()
277 mod_freq_divider = mantissa << exponent; in set_mpu_spreadspectrum()
293 writel((exponent << 8) | mantissa, &cmwkup->sscmodfreqdivdpllmpu); in set_mpu_spreadspectrum()
/rk3399_rockchip-uboot/include/u-boot/
H A Drsa.h30 uint64_t exponent; /* public exponent */ member
/rk3399_rockchip-uboot/scripts/
H A Dfit-core.sh370 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
477 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
561 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
H A Dfit-sign.sh382 fdtput -tx ${SPL_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
503 fdtput -tx ${UBOOT_DTB} ${SIGNATURE_KEY_NODE} rsa,exponent-BN 0x0
H A Davbtool.py397 self.exponent = 65537
411 if self.exponent != 65537:
590 exponent = 65537
616 hex(exponent).rstrip('L'))
/rk3399_rockchip-uboot/doc/uImage.FIT/
H A Dsignature.txt163 - rsa,exponent: Public exponent (E) as a 64 bit unsigned integer