Searched refs:keySizeInBytes (Results 1 – 3 of 3) sorted by relevance
/external/tpm2/ |
D | CpriECC.c | 477 UINT16 keySizeInBytes; in _cpri__EccCommitCompute() local 502 keySizeInBytes = (UINT16) ((EC_GROUP_get_degree(group)+7)/8); in _cpri__EccCommitCompute() 522 Point2B(group, K, pK, (INT16)keySizeInBytes, context); in _cpri__EccCommitCompute() 533 Point2B(group, L, pL, (INT16)keySizeInBytes, context); in _cpri__EccCommitCompute() 558 Point2B(group, E, pE, (INT16)keySizeInBytes, context); in _cpri__EccCommitCompute() 677 INT16 keySizeInBytes; in _cpri__GenerateKeyEcc() local 705 || (keySizeInBytes = (INT16) BN_num_bytes(bnNm1)) > MAX_ECC_KEY_BYTES) in _cpri__GenerateKeyEcc() 725 pAssert(keySizeInBytes <= MAX_ECC_KEY_BYTES); in _cpri__GenerateKeyEcc() 726 if ( BN_bin2bn(withExtra, keySizeInBytes+8, bnD) == NULL in _cpri__GenerateKeyEcc() 731 if(BnTo2B(&dOut->b, bnD, keySizeInBytes) != 1) in _cpri__GenerateKeyEcc()
|
D | CryptUtil.c | 3672 UINT16 keySizeInBytes; in CryptAreKeySizesConsistent() local 3674 keySizeInBytes = CryptEccGetKeySizeInBytes(curveId); in CryptAreKeySizesConsistent() 3675 consistent = keySizeInBytes > 0 in CryptAreKeySizesConsistent() 3676 && publicArea->unique.ecc.x.t.size <= keySizeInBytes in CryptAreKeySizesConsistent() 3677 && publicArea->unique.ecc.y.t.size <= keySizeInBytes; in CryptAreKeySizesConsistent()
|
D | part4.txt | 23664 3055 UINT16 keySizeInBytes; 23667 3058 keySizeInBytes = CryptEccGetKeySizeInBytes(curveId); 23669 3060 consistent = keySizeInBytes > 0 23670 3061 && publicArea->unique.ecc.x.t.size <= keySizeInBytes 23671 3062 && publicArea->unique.ecc.y.t.size <= keySizeInBytes; 33614 384 UINT16 keySizeInBytes; 33644 414 keySizeInBytes = (UINT16) BN_num_bytes(&group->field); 33674 439 Point2B(group, K, pK, (INT16)keySizeInBytes, context); 33687 452 Point2B(group, L, pL, (INT16)keySizeInBytes, context); 33715 480 Point2B(group, E, pE, (INT16)keySizeInBytes, context); [all …]
|