Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _goboringcrypto_HMAC_CTX_cleanup (0.34 sec)

  1. src/crypto/internal/boring/hmac.go

    	ctx2        C.GO_HMAC_CTX
    	size        int
    	blockSize   int
    	key         []byte
    	sum         []byte
    	needCleanup bool
    }
    
    func (h *boringHMAC) Reset() {
    	if h.needCleanup {
    		C._goboringcrypto_HMAC_CTX_cleanup(&h.ctx)
    	} else {
    		h.needCleanup = true
    		// Note: Because of the finalizer, any time h.ctx is passed to cgo,
    		// that call must be followed by a call to runtime.KeepAlive(h),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top