Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cryptBlocksChain (0.34 sec)

  1. src/crypto/aes/cbc_ppc64x.go

    	var c cbc
    	c.b = b
    	c.enc = cbcDecrypt
    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (x *cbc) BlockSize() int { return BlockSize }
    
    // cryptBlocksChain invokes the cipher message identifying encrypt or decrypt.
    //
    //go:noescape
    func cryptBlocksChain(src, dst *byte, length int, key *uint32, iv *byte, enc int, nr int)
    
    func (x *cbc) CryptBlocks(dst, src []byte) {
    	if len(src)%BlockSize != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/crypto/aes/cbc_s390x.go

    	copy(c.iv[:], iv)
    	return &c
    }
    
    func (x *cbc) BlockSize() int { return BlockSize }
    
    // cryptBlocksChain invokes the cipher message with chaining (KMC) instruction
    // with the given function code. The length must be a multiple of BlockSize (16).
    //
    //go:noescape
    func cryptBlocksChain(c code, iv, key, dst, src *byte, length int)
    
    func (x *cbc) CryptBlocks(dst, src []byte) {
    	if len(src)%BlockSize != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/crypto/aes/asm_s390x.s

    	MOVD	length+32(FP), R5
    	MOVD	c+0(FP), R0
    loop:
    	KM	R2, R4      // cipher message (KM)
    	BVS	loop        // branch back if interrupted
    	XOR	R0, R0
    	RET
    
    // func cryptBlocksChain(c code, iv, key, dst, src *byte, length int)
    TEXT ·cryptBlocksChain(SB),NOSPLIT,$48-48
    	LA	params-48(SP), R1
    	MOVD	iv+8(FP), R8
    	MOVD	key+16(FP), R9
    	MVC	$16, 0(R8), 0(R1)  // move iv into params
    	MVC	$32, 0(R9), 16(R1) // move key into params
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/crypto/aes/asm_ppc64x.s

    	VXOR	V15, V15, V15 \
    	VXOR	V16, V16, V16 \
    	VXOR	V17, V17, V17 \
    	VXOR	V18, V18, V18 \
    	VXOR	V19, V19, V19 \
    	VXOR	V20, V20, V20
    
    //func cryptBlocksChain(src, dst *byte, length int, key *uint32, iv *byte, enc int, nr int)
    TEXT ·cryptBlocksChain(SB), NOSPLIT|NOFRAME, $0
    	MOVD	src+0(FP), INP
    	MOVD	dst+8(FP), OUTP
    	MOVD	length+16(FP), LEN
    	MOVD	key+24(FP), KEYP
    	MOVD	iv+32(FP), IVP
    	MOVD	enc+40(FP), ENC
    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