Lines Matching refs:bn
827 struct bignum **bn = attr; in op_attr_bignum_from_user() local
834 res = crypto_bignum_bin2bn(bbuf, size, *bn); in op_attr_bignum_from_user()
846 struct bignum **bn = attr; in op_attr_bignum_to_user() local
855 req_size = crypto_bignum_num_bytes(*bn); in op_attr_bignum_to_user()
872 crypto_bignum_bn2bin(*bn, bbuf); in op_attr_bignum_to_user()
883 struct bignum **bn = attr; in op_attr_bignum_to_binary() local
884 uint32_t n = crypto_bignum_num_bytes(*bn); in op_attr_bignum_to_binary()
895 crypto_bignum_bn2bin(*bn, (uint8_t *)data + *offs); in op_attr_bignum_to_binary()
904 struct bignum **bn = attr; in op_attr_bignum_from_binary() local
912 if (crypto_bignum_bin2bn((const uint8_t *)data + *offs, n, *bn)) in op_attr_bignum_from_binary()
920 struct bignum **bn = attr; in op_attr_bignum_from_obj() local
923 crypto_bignum_copy(*bn, *src_bn); in op_attr_bignum_from_obj()
929 struct bignum **bn = attr; in op_attr_bignum_clear() local
931 crypto_bignum_clear(*bn); in op_attr_bignum_clear()
936 struct bignum **bn = attr; in op_attr_bignum_free() local
938 crypto_bignum_free(bn); in op_attr_bignum_free()