Lines Matching refs:bk
8128 unsigned char bk[70]; in test_EC_inner() local
8136 klen = hextobin(bk, sk); in test_EC_inner()
8159 if (impl->mul(eG, ulen, bk, klen, curve) != 1) { in test_EC_inner()
8637 unsigned char bu[32], bk[32], br[32]; in test_EC_c25519() local
8644 hextobin(bk, C25519_KAT[v].scalar_le); in test_EC_c25519()
8645 revbytes(bk, sizeof bk); in test_EC_c25519()
8648 if (!iec->mul(bu, sizeof bu, bk, sizeof bk, BR_EC_curve25519)) { in test_EC_c25519()
8664 memcpy(bk, bu, sizeof bu); in test_EC_c25519()
8666 revbytes(bk, sizeof bk); in test_EC_c25519()
8667 if (!iec->mul(bu, sizeof bu, bk, sizeof bk, BR_EC_curve25519)) { in test_EC_c25519()
8672 revbytes(bk, sizeof bk); in test_EC_c25519()
8677 bu[v] = bk[v]; in test_EC_c25519()
8678 bk[v] = t; in test_EC_c25519()
8687 if (memcmp(bk, br, sizeof bk) != 0) { in test_EC_c25519()