Home
last modified time | relevance | path

Searched refs:ECC_N (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dcrypto.c998 crpt->ECC_N[i] = 0UL; in ecc_init_curve()
1014 crpt->ECC_N[0] = 0x1UL; in ecc_init_curve()
1015 crpt->ECC_N[(pCurve->key_len) / 32] |= (1UL << ((pCurve->key_len) % 32)); in ecc_init_curve()
1016 crpt->ECC_N[(pCurve->irreducible_k1) / 32] |= (1UL << ((pCurve->irreducible_k1) % 32)); in ecc_init_curve()
1017 crpt->ECC_N[(pCurve->irreducible_k2) / 32] |= (1UL << ((pCurve->irreducible_k2) % 32)); in ecc_init_curve()
1018 crpt->ECC_N[(pCurve->irreducible_k3) / 32] |= (1UL << ((pCurve->irreducible_k3) % 32)); in ecc_init_curve()
1022 Hex2Reg(pCurve->Pp, crpt->ECC_N); in ecc_init_curve()
1025 dump_ecc_reg("CRPT_ECC_CURVE_N", crpt->ECC_N, 10); in ecc_init_curve()
1555 crpt->ECC_N[i] = 0UL; in ECC_GenerateSignature()
1557 Hex2Reg(pCurve->Eorder, crpt->ECC_N); in ECC_GenerateSignature()
[all …]
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dcrypto.c918 crpt->ECC_N[i] = 0UL; in ecc_init_curve()
934 crpt->ECC_N[0] = 0x1UL; in ecc_init_curve()
935 crpt->ECC_N[(pCurve->key_len) / 32] |= (1UL << ((pCurve->key_len) % 32)); in ecc_init_curve()
936 crpt->ECC_N[(pCurve->irreducible_k1) / 32] |= (1UL << ((pCurve->irreducible_k1) % 32)); in ecc_init_curve()
937 crpt->ECC_N[(pCurve->irreducible_k2) / 32] |= (1UL << ((pCurve->irreducible_k2) % 32)); in ecc_init_curve()
938 crpt->ECC_N[(pCurve->irreducible_k3) / 32] |= (1UL << ((pCurve->irreducible_k3) % 32)); in ecc_init_curve()
942 Hex2Reg(pCurve->Pp, crpt->ECC_N); in ecc_init_curve()
945 dump_ecc_reg("CRPT_ECC_CURVE_N", crpt->ECC_N, 10); in ecc_init_curve()
1254 crpt->ECC_N[i] = 0UL; in ECC_GenerateSignature()
1256 Hex2Reg(pCurve->Eorder, crpt->ECC_N); in ECC_GenerateSignature()
[all …]
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Drng.c257 CRPT->ECC_N[i] = au32ECC_N[i]; in RNG_ECDSA_Init()
409 CRPT->ECC_N[i] = au32ECC_N[i]; in RNG_ECDH_Init()
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2351/bsp/Device/Nuvoton/M2351/Include/
Dcrpt_reg.h1669 …__IO uint32_t ECC_N[18]; /*!< [0x09b8] ~ [0x09fc] ECC The parameter CURVEN word 0~17 o… member
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Device/Nuvoton/M2354/Include/
Dcrpt_reg.h1202 …__IO uint32_t ECC_N[18]; /*!< [0x09b8] ~ [0x09fc] ECC The parameter CURVEN word 0~17 o… member