Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expandKeyAsm (0.13 sec)

  1. src/crypto/aes/cipher_asm.go

    )
    
    // defined in asm_*.s
    
    //go:noescape
    func encryptBlockAsm(nr int, xk *uint32, dst, src *byte)
    
    //go:noescape
    func decryptBlockAsm(nr int, xk *uint32, dst, src *byte)
    
    //go:noescape
    func expandKeyAsm(nr int, key *byte, enc *uint32, dec *uint32)
    
    type aesCipherAsm struct {
    	aesCipher
    }
    
    // aesCipherGCM implements crypto/cipher.gcmAble so that crypto/cipher.NewGCM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/crypto/aes/asm_amd64.s

    	AESDEC X1, X0
    	MOVUPS 128(AX), X1
    	AESDEC X1, X0
    	MOVUPS 144(AX), X1
    	AESDECLAST X1, X0
    	MOVUPS X0, 0(DX)
    	RET
    
    // func expandKeyAsm(nr int, key *byte, enc, dec *uint32) {
    // Note that round keys are stored in uint128 format, not uint32
    TEXT ·expandKeyAsm(SB),NOSPLIT,$0
    	MOVQ nr+0(FP), CX
    	MOVQ key+8(FP), AX
    	MOVQ enc+16(FP), BX
    	MOVQ dec+24(FP), DX
    	MOVUPS (AX), X0
    	// enc
    	MOVUPS X0, (BX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/crypto/aes/asm_arm64.s

    	AESD	V13.B16, V0.B16
    	AESIMC	V0.B16, V0.B16
    	AESD	V14.B16, V0.B16
    	VEOR    V0.B16, V15.B16, V0.B16
    	VST1	[V0.B16], (R11)
    	RET
    
    // func expandKeyAsm(nr int, key *byte, enc, dec *uint32) {
    // Note that round keys are stored in uint128 format, not uint32
    TEXT ·expandKeyAsm(SB),NOSPLIT,$0
    	MOVD	nr+0(FP), R8
    	MOVD	key+8(FP), R9
    	MOVD	enc+16(FP), R10
    	MOVD	dec+24(FP), R11
    	LDP	rotInvSRows<>(SB), (R0, R1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_ppc64x.s

    // avoid arguments overwriting when setDecryptKeyAsm calls setEncryptKeyAsm.
    // There were other modifications as well but kept the same functionality.
    
    #include "textflag.h"
    
    // For expandKeyAsm
    #define INP     R3
    #define BITS    R4
    #define OUTENC  R5 // Pointer to next expanded encrypt key
    #define PTR     R6
    #define CNT     R7
    #define ROUNDS  R8
    #define OUTDEC  R9  // Pointer to next expanded decrypt key
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top