Lines Matching refs:bn
69 BIGNUM *bn = NULL; in BN_bin2bn() local
72 ret = bn = BN_new(); in BN_bin2bn()
87 if (bn) { in BN_bin2bn()
88 BN_free(bn); in BN_bin2bn()
112 BIGNUM *bn = NULL; in BN_le2bn() local
114 bn = BN_new(); in BN_le2bn()
115 ret = bn; in BN_le2bn()
131 BN_free(bn); in BN_le2bn()
203 BN_ULONG BN_get_word(const BIGNUM *bn) { in BN_get_word() argument
204 switch (bn_minimal_width(bn)) { in BN_get_word()
208 return bn->d[0]; in BN_get_word()
214 int BN_get_u64(const BIGNUM *bn, uint64_t *out) { in BN_get_u64() argument
215 switch (bn_minimal_width(bn)) { in BN_get_u64()
220 *out = bn->d[0]; in BN_get_u64()
224 *out = (uint64_t) bn->d[0] | (((uint64_t) bn->d[1]) << 32); in BN_get_u64()