Searched refs:pCurve (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | crypto.c | 809 static ECC_CURVE *pCurve; variable 983 pCurve = get_curve(ecc_curve); in ecc_init_curve() 984 if(pCurve == NULL) in ecc_init_curve() 1001 Hex2Reg(pCurve->Ea, crpt->ECC_A); in ecc_init_curve() 1002 Hex2Reg(pCurve->Eb, crpt->ECC_B); in ecc_init_curve() 1003 Hex2Reg(pCurve->Px, crpt->ECC_X1); in ecc_init_curve() 1004 Hex2Reg(pCurve->Py, crpt->ECC_Y1); in ecc_init_curve() 1006 CRPT_DBGMSG("Key length = %d\n", pCurve->key_len); in ecc_init_curve() 1012 if(pCurve->GF == (int)CURVE_GF_2M) in ecc_init_curve() 1015 crpt->ECC_N[(pCurve->key_len) / 32] |= (1UL << ((pCurve->key_len) % 32)); in ecc_init_curve() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | crypto.c | 756 static ECC_CURVE *pCurve; variable 903 pCurve = get_curve(ecc_curve); in ecc_init_curve() 904 if(pCurve == NULL) in ecc_init_curve() 921 Hex2Reg(pCurve->Ea, crpt->ECC_A); in ecc_init_curve() 922 Hex2Reg(pCurve->Eb, crpt->ECC_B); in ecc_init_curve() 923 Hex2Reg(pCurve->Px, crpt->ECC_X1); in ecc_init_curve() 924 Hex2Reg(pCurve->Py, crpt->ECC_Y1); in ecc_init_curve() 926 CRPT_DBGMSG("Key length = %d\n", pCurve->key_len); in ecc_init_curve() 932 if(pCurve->GF == (int)CURVE_GF_2M) in ecc_init_curve() 935 crpt->ECC_N[(pCurve->key_len) / 32] |= (1UL << ((pCurve->key_len) % 32)); in ecc_init_curve() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | mkromlib.h | 99 ECC_CURVE *pCurve; /*!< Internal use for ECC */ member
|