Home
last modified time | relevance | path

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

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcprsa_verifysing_pkcs1v15.h71 __ALIGN8 IppsBigNumState bnC; in VerifySing() local
75 BN_Make(pBuffer, pBuffer + nsN + 1, nsN, &bnC); in VerifySing()
84 gsRSApub_cipher(&bnC, &bnP, pKey, pBuffer); in VerifySing()
87 ippsGetOctString_BN((Ipp8u*)(BN_BUFFER(&bnC)), k, &bnC); in VerifySing()
90 if (EMSA_PKCSv15(pMsg, msgLen, pSalt, saltLen, (Ipp8u*)(BN_NUMBER(&bnC)), k)) { in VerifySing()
91 *pIsValid = 1 == EquBlock((Ipp8u*)(BN_BUFFER(&bnC)), (Ipp8u*)(BN_NUMBER(&bnC)), k); in VerifySing()
Dpcprsa_generatesing_pkcs1v15.h74 __ALIGN8 IppsBigNumState bnC; in GenerateSing() local
78 BN_Make(pBuffer, pBuffer + nsN + 1, nsN, &bnC); in GenerateSing()
86 ippsSetOctString_BN(pSign, k, &bnC); in GenerateSing()
89 gsRSAprv_cipher(&bnP, &bnC, pPrvKey, pBuffer); in GenerateSing()
91 gsRSAprv_cipher_crt(&bnP, &bnC, pPrvKey, pBuffer); in GenerateSing()
100 if (0 != cpBN_cmp(&bnP, &bnC)) { in GenerateSing()