- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _goboringcrypto_BN_bin2bn (0.18 sec)
-
src/crypto/internal/boring/boring.go
const wordBytes = bits.UintSize / 8 func bigToBN(x BigInt) *C.GO_BIGNUM { return C._goboringcrypto_BN_le2bn(wbase(x), C.size_t(len(x)*wordBytes), nil) } func bytesToBN(x []byte) *C.GO_BIGNUM { return C._goboringcrypto_BN_bin2bn((*C.uint8_t)(&x[0]), C.size_t(len(x)), nil) } func bnToBig(bn *C.GO_BIGNUM) BigInt { x := make(BigInt, (C._goboringcrypto_BN_num_bytes(bn)+wordBytes-1)/wordBytes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 3K bytes - Viewed (0) -
src/crypto/internal/boring/goboringcrypto.h
void _goboringcrypto_BN_free(GO_BIGNUM*); unsigned _goboringcrypto_BN_num_bits(const GO_BIGNUM*); unsigned _goboringcrypto_BN_num_bytes(const GO_BIGNUM*); int _goboringcrypto_BN_is_negative(const GO_BIGNUM*); GO_BIGNUM* _goboringcrypto_BN_bin2bn(const uint8_t*, size_t, GO_BIGNUM*); GO_BIGNUM* _goboringcrypto_BN_le2bn(const uint8_t*, size_t, GO_BIGNUM*); size_t _goboringcrypto_BN_bn2bin(const GO_BIGNUM*, uint8_t*);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 14.1K bytes - Viewed (0)