Searched refs:private_k (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | crypto.h | 373 int ECC_IsPrivateKeyValid(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char private_k[]); 374 int32_t ECC_GenerateSecretZ(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1[]… 375 int32_t ECC_GeneratePublicKey(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1…
|
D | mkromlib.h | 587 int32_t XECC_IsPrivateKeyValid(XCRPT_T *xcrpt, E_ECC_CURVE ecc_curve, char private_k[]); 601 int32_t XECC_GeneratePublicKey(XCRPT_T *xcrpt, E_ECC_CURVE ecc_curve, char *private_k, char public_… 649 int32_t XECC_GenerateSecretZ(XCRPT_T *xcrpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1…
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | crypto.c | 1064 int ECC_IsPrivateKeyValid(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char private_k[]) in ECC_IsPrivateKeyValid() argument 1075 if(strlen(private_k) < strlen(pCurve->Eorder)) in ECC_IsPrivateKeyValid() 1080 if(strlen(private_k) > strlen(pCurve->Eorder)) in ECC_IsPrivateKeyValid() 1085 for(i = 0U; i < strlen(private_k); i++) in ECC_IsPrivateKeyValid() 1087 if(get_nibble_value(private_k[i]) < get_nibble_value(pCurve->Eorder[i])) in ECC_IsPrivateKeyValid() 1092 if(get_nibble_value(private_k[i]) > get_nibble_value(pCurve->Eorder[i])) in ECC_IsPrivateKeyValid() 1111 int32_t ECC_GeneratePublicKey(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1… in ECC_GeneratePublicKey() argument 1130 Hex2Reg(private_k, crpt->ECC_K); in ECC_GeneratePublicKey() 1310 int32_t ECC_GenerateSecretZ(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1[]… in ECC_GenerateSecretZ() argument 1332 Hex2RegEx(private_k, crpt->ECC_K, 1); in ECC_GenerateSecretZ() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
D | crypto.h | 523 int ECC_IsPrivateKeyValid(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char private_k[]); 524 int32_t ECC_GenerateSecretZ(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1[]… 525 int32_t ECC_GeneratePublicKey(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1…
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | crypto.c | 984 int ECC_IsPrivateKeyValid(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char private_k[]) in ECC_IsPrivateKeyValid() argument 995 if(strlen(private_k) < strlen(pCurve->Eorder)) in ECC_IsPrivateKeyValid() 1000 if(strlen(private_k) > strlen(pCurve->Eorder)) in ECC_IsPrivateKeyValid() 1005 for(i = 0U; i < strlen(private_k); i++) in ECC_IsPrivateKeyValid() 1007 if(get_nibble_value(private_k[i]) < get_nibble_value(pCurve->Eorder[i])) in ECC_IsPrivateKeyValid() 1012 if(get_nibble_value(private_k[i]) > get_nibble_value(pCurve->Eorder[i])) in ECC_IsPrivateKeyValid() 1031 int32_t ECC_GeneratePublicKey(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1… in ECC_GeneratePublicKey() argument 1048 Hex2Reg(private_k, crpt->ECC_K); in ECC_GeneratePublicKey() 1090 int32_t ECC_GenerateSecretZ(CRPT_T *crpt, E_ECC_CURVE ecc_curve, char *private_k, char public_k1[]… in ECC_GenerateSecretZ() argument 1112 Hex2RegEx(private_k, crpt->ECC_K, 1); in ECC_GenerateSecretZ() [all …]
|