- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for _goboringcrypto_BN_le2bn (0.28 sec)
-
src/crypto/internal/boring/boring.go
func wbase(b BigInt) *C.uint8_t { if len(b) == 0 { return nil } return (*C.uint8_t)(unsafe.Pointer(&b[0])) } 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 3K bytes - Viewed (0)