Home
last modified time | relevance | path

Searched refs:pCurve (Results 1 – 2 of 2) sorted by relevance

/hal_nuvoton-latest/m48x/StdDriver/src/
Dcrypto.c887 static ECC_CURVE *pCurve; variable
1039 pCurve = get_curve(ecc_curve); in ecc_init_curve()
1040 if (pCurve == NULL) in ecc_init_curve()
1057 Hex2Reg(pCurve->Ea, crpt->ECC_A); in ecc_init_curve()
1058 Hex2Reg(pCurve->Eb, crpt->ECC_B); in ecc_init_curve()
1059 Hex2Reg(pCurve->Px, crpt->ECC_X1); in ecc_init_curve()
1060 Hex2Reg(pCurve->Py, crpt->ECC_Y1); in ecc_init_curve()
1062 CRPT_DBGMSG("Key length = %d\n", pCurve->key_len); in ecc_init_curve()
1068 if (pCurve->GF == (int)CURVE_GF_2M) in ecc_init_curve()
1071 crpt->ECC_N[(pCurve->key_len) / 32] |= (1UL << ((pCurve->key_len) % 32)); in ecc_init_curve()
[all …]
/hal_nuvoton-latest/m46x/StdDriver/src/
Dcrypto.c831 static ECC_CURVE *pCurve; variable
1005 pCurve = get_curve(ecc_curve); in ecc_init_curve()
1006 if(pCurve == NULL) in ecc_init_curve()
1023 Hex2Reg(pCurve->Ea, crpt->ECC_A); in ecc_init_curve()
1024 Hex2Reg(pCurve->Eb, crpt->ECC_B); in ecc_init_curve()
1025 Hex2Reg(pCurve->Px, crpt->ECC_X1); in ecc_init_curve()
1026 Hex2Reg(pCurve->Py, crpt->ECC_Y1); in ecc_init_curve()
1028 CRPT_DBGMSG("Key length = %d\n", pCurve->key_len); in ecc_init_curve()
1034 if(pCurve->GF == (int)CURVE_GF_2M) in ecc_init_curve()
1037 crpt->ECC_N[(pCurve->key_len) / 32] |= (1UL << ((pCurve->key_len) % 32)); in ecc_init_curve()
[all …]