Home
last modified time | relevance | path

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

/external/tpm2/
DCpriECC.c684 BIGNUM *bnNm1; // Order of the curve minus one in _cpri__GenerateKeyEcc() local
701 bnNm1 = BN_CTX_get(context); in _cpri__GenerateKeyEcc()
707 || BN_bin2bn(curveData->n->buffer, curveData->n->size, bnNm1) == NULL in _cpri__GenerateKeyEcc()
708 || (keySizeInBytes = (INT16) BN_num_bytes(bnNm1)) > MAX_ECC_KEY_BYTES) in _cpri__GenerateKeyEcc()
711 totalBits = BN_num_bits(bnNm1) + 64; in _cpri__GenerateKeyEcc()
713 BN_sub_word(bnNm1, 1); in _cpri__GenerateKeyEcc()
730 || BN_mod(bnD, bnD, bnNm1, context) != 1) in _cpri__GenerateKeyEcc()