Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for gcmAesData (0.13 sec)

  1. src/crypto/aes/aes_gcm.go

    		counter[gcmBlockSize-1] = 1
    	} else {
    		// Otherwise counter = GHASH(nonce)
    		gcmAesData(&g.productTable, nonce, &counter)
    		gcmAesFinish(&g.productTable, &tagMask, &counter, uint64(len(nonce)), uint64(0))
    	}
    
    	encryptBlockAsm(len(g.ks)/4-1, &g.ks[0], &tagMask[0], &counter[0])
    
    	var tagOut [gcmTagSize]byte
    	gcmAesData(&g.productTable, data, &tagOut)
    
    	ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/crypto/aes/gcm_amd64.s

    		PXOR B2, B3
    		MOVOU B3, (16*13)(dst)
    
    		DECQ AX
    		LEAQ (-16*2)(dst), dst
    	JNE initLoop
    
    	RET
    #undef NR
    #undef KS
    #undef dst
    
    // func gcmAesData(productTable *[256]byte, data []byte, T *[16]byte)
    TEXT ·gcmAesData(SB),NOSPLIT,$0
    #define pTbl DI
    #define aut SI
    #define tPtr CX
    #define autLen DX
    
    #define reduceRound(a) 	MOVOU POLY, T0;	PCLMULQDQ $0x01, a, T0; PSHUFD $78, a, a; PXOR T0, a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/crypto/aes/gcm_arm64.s

    	VEOR	B2.B16, B3.B16, B3.B16
    
    	VST1	[B2.B16, B3.B16], (pTbl)
    	SUB	$2*16, pTbl
    
    	BNE	initLoop
    	RET
    #undef I
    #undef NR
    #undef KS
    #undef pTbl
    
    // func gcmAesData(productTable *[256]byte, data []byte, T *[16]byte)
    TEXT ·gcmAesData(SB),NOSPLIT,$0
    #define pTbl R0
    #define aut R1
    #define tPtr R2
    #define autLen R3
    #define H0 R4
    #define pTblSave R5
    
    #define mulRound(X) \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top