Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _goboringcrypto_AES_encrypt (0.53 sec)

  1. src/crypto/internal/boring/goboringcrypto.h

    int _goboringcrypto_AES_set_encrypt_key(const uint8_t*, unsigned int, GO_AES_KEY*);
    int _goboringcrypto_AES_set_decrypt_key(const uint8_t*, unsigned int, GO_AES_KEY*);
    void _goboringcrypto_AES_encrypt(const uint8_t*, uint8_t*, const GO_AES_KEY*);
    void _goboringcrypto_AES_decrypt(const uint8_t*, uint8_t*, const 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)
  2. src/crypto/internal/boring/aes.go

    	}
    	if len(src) < aesBlockSize {
    		panic("crypto/aes: input not full block")
    	}
    	if len(dst) < aesBlockSize {
    		panic("crypto/aes: output not full block")
    	}
    	C._goboringcrypto_AES_encrypt(
    		(*C.uint8_t)(unsafe.Pointer(&src[0])),
    		(*C.uint8_t)(unsafe.Pointer(&dst[0])),
    		&c.enc)
    }
    
    func (c *aesCipher) Decrypt(dst, src []byte) {
    	if inexactOverlap(dst, src) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top