Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _goboringcrypto_HMAC_size (0.23 sec)

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

    	if C._goboringcrypto_HMAC_Init(&h.ctx, unsafe.Pointer(base(h.key)), C.int(len(h.key)), h.md) == 0 {
    		panic("boringcrypto: HMAC_Init failed")
    	}
    	if int(C._goboringcrypto_HMAC_size(&h.ctx)) != h.size {
    		println("boringcrypto: HMAC size:", C._goboringcrypto_HMAC_size(&h.ctx), "!=", h.size)
    		panic("boringcrypto: HMAC size mismatch")
    	}
    	runtime.KeepAlive(h) // Next line will keep h alive too; just making doubly sure.
    	h.sum = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/goboringcrypto.h

    int _goboringcrypto_HMAC_Update(GO_HMAC_CTX*, const uint8_t*, size_t);
    int _goboringcrypto_HMAC_Final(GO_HMAC_CTX*, uint8_t*, unsigned int*);
    size_t _goboringcrypto_HMAC_size(const GO_HMAC_CTX*);
    int _goboringcrypto_HMAC_CTX_copy_ex(GO_HMAC_CTX *dest, const GO_HMAC_CTX *src);
    
    // #include <openssl/aes.h>
    typedef struct GO_AES_KEY { char data[244]; } GO_AES_KEY;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top