MCPcopy Create free account

hub / github.com/bovarysme/memories / functions

Functions136 in github.com/bovarysme/memories

↓ 8 callersMethodDecrypt
(dst, src []byte)
crypto/aes/cipher.go:63
↓ 8 callersMethodEncrypt
(dst, src []byte)
crypto/aes/cipher.go:53
↓ 7 callersFunctionmul
Multiply b and c as GF(2) polynomials modulo poly
crypto/aes/aes_test.go:29
↓ 6 callersFunctionmustPanic
(t *testing.T, msg string, f func())
crypto/aes/aes_test.go:337
↓ 5 callersFunctionNewCipher
NewCipher creates and returns a new cipher.Block. The key argument should be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AE
crypto/aes/cipher.go:31
↓ 5 callersFunctionexpandKeyGo
Key expansion algorithm. See FIPS-197, Figure 11. Their rcon[i] is our powx[i-1] << 24.
crypto/aes/block.go:142
↓ 5 callersMethodpaddedGHASH
paddedGHASH pads data with zeroes until its length is a multiple of 16-bytes. It then calculates a new value for hash using the GHASH algorithm.
crypto/aes/gcm_s390x.go:122
↓ 4 callersMethodderiveCounter
deriveCounter computes the initial GCM counter state from the given nonce. See NIST SP 800-38D, section 7.1.
crypto/aes/gcm_s390x.go:179
↓ 4 callersFunctiongcmAesData
go:noescape
crypto/aes/aes_gcm.go:25
↓ 4 callersFunctiongcmAesFinish
go:noescape
crypto/aes/aes_gcm.go:34
↓ 4 callersFunctionsliceForAppend
sliceForAppend takes a slice and a requested number of bytes. It returns a slice with the contents of the given slice followed by that many bytes and
crypto/aes/gcm_s390x.go:103
↓ 3 callersFunctioncryptBlocks
cryptBlocks invokes the cipher message (KM) instruction with the given function code. This is equivalent to AES in ECB mode. The length must be a mult
crypto/aes/cipher_s390x.go:32
↓ 3 callersMethodinc
inc increments the rightmost 32-bits of the count value by 1.
crypto/aes/gcm_s390x.go:22
↓ 3 callersFunctionnewCipherGeneric
newCipherGeneric creates and returns a new cipher.Block implemented in pure Go.
crypto/aes/cipher.go:44
↓ 2 callersMethodOpen
Open authenticates and decrypts ciphertext. See the cipher.AEAD interface for details.
crypto/aes/aes_gcm.go:135
↓ 2 callersFunctionaesEncBlock
go:noescape
crypto/aes/aes_gcm.go:19
↓ 2 callersMethodauth
auth calculates GHASH(ciphertext, additionalData), masks the result with tagMask and writes the result to out.
crypto/aes/gcm_s390x.go:202
↓ 2 callersMethodcounterCrypt
counterCrypt encrypts src using AES in counter mode and places the result into dst. cnt is the initial count value and will be updated with the next c
crypto/aes/gcm_s390x.go:151
↓ 2 callersFunctiondecrypt
(source, dest string, key []byte)
attack/decrypt.go:66
↓ 2 callersFunctionderiveKey
(iv int)
attack/primitives.go:16
↓ 2 callersFunctionexpandKeyAsm
(nr int, key *byte, enc *uint32, dec *uint32)
crypto/aes/cipher_amd64.go:16
↓ 2 callersFunctiongcmLengths
gcmLengths writes len0 || len1 as big-endian values to a 16-byte array.
crypto/aes/gcm_s390x.go:33
↓ 2 callersFunctionghash
ghash uses the GHASH algorithm to hash data with the given key. The initial hash value is given by hash which will be updated with the new hash value.
crypto/aes/gcm_s390x.go:118
↓ 2 callersFunctionkmaGCM
kmaGCM executes the encryption or decryption operation given by fn. The tag will be calculated and written to tag. cnt should contain the current coun
crypto/aes/gcm_s390x.go:307
↓ 2 callersFunctionsetDecryptKeyAsm
go:noescape
crypto/aes/cipher_ppc64le.go:19
↓ 2 callersFunctionsetEncryptKeyAsm
defined in asm_ppc64le.s go:noescape
crypto/aes/cipher_ppc64le.go:15
↓ 2 callersFunctionsliceForAppend
sliceForAppend takes a slice and a requested number of bytes. It returns a slice with the contents of the given slice followed by that many bytes and
crypto/aes/aes_gcm.go:85
↓ 2 callersFunctionsubw
Apply sbox0 to each byte in w.
crypto/aes/block.go:130
↓ 1 callersMethodBlockSize
()
crypto/aes/cbc_s390x.go:37
↓ 1 callersMethodEncrypt
(dst, src []byte)
crypto/aes/cipher_amd64.go:46
↓ 1 callersMethodNewCBCDecrypter
(iv []byte)
crypto/aes/modes.go:29
↓ 1 callersMethodNewCBCEncrypter
(iv []byte)
crypto/aes/modes.go:22
↓ 1 callersMethodNewCTR
(iv []byte)
crypto/aes/modes.go:36
↓ 1 callersMethodNewGCM
(size int)
crypto/aes/modes.go:15
↓ 1 callersFunctioncmdBruteforce
()
main.go:29
↓ 1 callersFunctioncmdDecrypt
()
main.go:40
↓ 1 callersFunctioncryptBlocksChain
cryptBlocksChain invokes the cipher message with chaining (KMC) instruction with the given function code. The length must be a multiple of BlockSize (
crypto/aes/cbc_s390x.go:42
↓ 1 callersFunctioncryptBlocksGCM
cryptBlocksGCM encrypts src using AES in counter mode using the given function code and key. The rightmost 32-bits of the counter are incremented betw
crypto/aes/gcm_s390x.go:145
↓ 1 callersFunctiondecryptBlockAsm
(nr int, xk *uint32, dst, src *byte)
crypto/aes/cipher_amd64.go:15
↓ 1 callersFunctiondecryptBlockAsm
go:noescape
crypto/aes/cipher_ppc64le.go:31
↓ 1 callersFunctiondecryptBlockGo
Decrypt one block from src into dst, using the expanded key xk.
crypto/aes/block.go:85
↓ 1 callersMethoddecryptChunk
(length int)
attack/decrypt.go:21
↓ 1 callersFunctionencryptBlockAsm
defined in asm_amd64.s
crypto/aes/cipher_amd64.go:14
↓ 1 callersFunctionencryptBlockAsm
go:noescape
crypto/aes/cipher_ppc64le.go:27
↓ 1 callersFunctionencryptBlockGo
Encrypt one block from src into dst, using the expanded key xk.
crypto/aes/block.go:40
↓ 1 callersFunctionexpandKey
expandKey is used by BenchmarkExpand to ensure that the asm implementation of key expansion is used for the benchmark when it is available.
crypto/aes/cipher_amd64.go:68
↓ 1 callersFunctiongcmAesDec
go:noescape
crypto/aes/aes_gcm.go:31
↓ 1 callersFunctiongcmAesEnc
go:noescape
crypto/aes/aes_gcm.go:28
↓ 1 callersFunctiongcmAesInit
go:noescape
crypto/aes/aes_gcm.go:22
↓ 1 callersFunctionhasAESNI
defined in asm_amd64.s
crypto/internal/cipherhw/cipherhw_amd64.go:10
↓ 1 callersFunctionhasHWSupport
hasHWSupport reports whether the AES-128, AES-192 and AES-256 cipher message (KM) function codes are supported. Note that this function is expensive.
crypto/internal/cipherhw/cipherhw_s390x.go:12
↓ 1 callersFunctionhashCode
(str string)
attack/primitives.go:3
↓ 1 callersFunctionnewCipher
(key []byte)
crypto/aes/cipher_amd64.go:31
↓ 1 callersFunctionreadChunkLengths
(source string)
attack/decrypt.go:44
↓ 1 callersFunctionreadCiphertext
(source string)
attack/bruteforce.go:16
↓ 1 callersMethodrefill
()
crypto/aes/ctr_s390x.go:46
↓ 1 callersFunctionrotw
Rotate
crypto/aes/block.go:138
↓ 1 callersFunctionsupportsKMA
supportsKMA reports whether the message-security-assist 8 facility is available. This function call may be expensive so hasKMA should be queried inste
crypto/aes/gcm_s390x.go:283
↓ 1 callersFunctionwriteKey
(source string, key []byte)
attack/bruteforce.go:32
↓ 1 callersFunctionxorBytes
xorBytes xors the contents of a and b and places the resulting values into dst. If a and b are not the same length then the number of bytes processed
crypto/aes/ctr_s390x.go:20
FunctionAESGCMSupport
AESGCMSupport returns true if the Go standard library supports AES-GCM in hardware.
crypto/internal/cipherhw/cipherhw_amd64.go:14
FunctionAESGCMSupport
()
crypto/internal/cipherhw/cipherhw_s390x.go:16
FunctionAESGCMSupport
()
crypto/internal/cipherhw/generic.go:9
FunctionBenchmarkDecrypt
(b *testing.B)
crypto/aes/aes_test.go:363
FunctionBenchmarkEncrypt
(b *testing.B)
crypto/aes/aes_test.go:349
FunctionBenchmarkExpand
(b *testing.B)
crypto/aes/aes_test.go:377
MethodBlockSize
()
crypto/aes/modes_test.go:25
MethodBlockSize
()
crypto/aes/modes_test.go:68
MethodBlockSize
()
crypto/aes/cipher_amd64.go:44
MethodBlockSize
()
crypto/aes/cipher_s390x.go:60
MethodBlockSize
()
crypto/aes/cipher.go:51
MethodBlockSize
()
crypto/aes/cipher_ppc64le.go:53
FunctionBruteforce
(source string)
attack/bruteforce.go:43
MethodCryptBlocks
(a, b []byte)
crypto/aes/modes_test.go:69
MethodCryptBlocks
(dst, src []byte)
crypto/aes/cbc_s390x.go:44
FunctionDecrypt
(source, dest, ourID, theirID string)
attack/decrypt.go:107
MethodDecrypt
(a, b []byte)
crypto/aes/modes_test.go:27
MethodDecrypt
(dst, src []byte)
crypto/aes/cipher_amd64.go:56
MethodDecrypt
(dst, src []byte)
crypto/aes/cipher_s390x.go:72
MethodDecrypt
(dst, src []byte)
crypto/aes/cipher_ppc64le.go:65
MethodEncrypt
(a, b []byte)
crypto/aes/modes_test.go:26
MethodEncrypt
(dst, src []byte)
crypto/aes/cipher_s390x.go:62
MethodEncrypt
(dst, src []byte)
crypto/aes/cipher_ppc64le.go:55
MethodError
()
crypto/aes/cipher.go:23
MethodInAESPackage
()
crypto/aes/modes_test.go:18
MethodInAESPackage
()
crypto/aes/modes_test.go:48
MethodInAESPackage
()
crypto/aes/modes_test.go:70
MethodInAESPackage
()
crypto/aes/modes_test.go:100
MethodNewCBCDecrypter
([]byte)
crypto/aes/modes_test.go:34
MethodNewCBCDecrypter
(iv []byte)
crypto/aes/cbc_s390x.go:29
MethodNewCBCEncrypter
([]byte)
crypto/aes/modes_test.go:31
MethodNewCBCEncrypter
(iv []byte)
crypto/aes/cbc_s390x.go:21
MethodNewCTR
NewCTR returns a Stream which encrypts/decrypts using the AES block cipher in counter mode. The length of iv must be the same as BlockSize.
crypto/aes/ctr_s390x.go:34
MethodNewCTR
([]byte)
crypto/aes/modes_test.go:37
MethodNewGCM
(int)
crypto/aes/modes_test.go:28
MethodNewGCM
NewGCM returns the AES cipher wrapped in Galois Counter Mode. This is only called by crypto/cipher.NewGCM via the gcmAble interface.
crypto/aes/aes_gcm.go:56
MethodNewGCM
NewGCM returns the AES cipher wrapped in Galois Counter Mode. This is only called by crypto/cipher.NewGCM via the gcmAble interface.
crypto/aes/gcm_s390x.go:76
MethodNonceSize
()
crypto/aes/modes_test.go:44
MethodNonceSize
()
crypto/aes/aes_gcm.go:73
MethodNonceSize
()
crypto/aes/gcm_s390x.go:91
next →1–100 of 136, ranked by callers