- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for aesctr (0.19 sec)
-
src/crypto/aes/ctr_s390x.go
func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream { if len(iv) != BlockSize { panic("cipher.NewCTR: IV length must equal block size") } var ac aesctr ac.block = c ac.ctr[0] = byteorder.BeUint64(iv[0:]) // high bits ac.ctr[1] = byteorder.BeUint64(iv[8:]) // low bits ac.buffer = ac.storage[:0] return &ac } func (c *aesctr) refill() { // Fill up the buffer with an incrementing count.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 2.4K bytes - Viewed (0) -
src/crypto/internal/boring/aes.go
x := &aesCBC{key: &c.dec, mode: C.GO_AES_DECRYPT} copy(x.iv[:], iv) return x } type aesCTR struct { key *C.GO_AES_KEY iv [aesBlockSize]byte num C.uint ecount_buf [16]C.uint8_t } func (x *aesCTR) XORKeyStream(dst, src []byte) { if inexactOverlap(dst, src) { panic("crypto/cipher: invalid buffer overlap") } if len(dst) < len(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) -
src/vendor/golang.org/x/sys/cpu/cpu_s390x.go
{Name: "dfp", Feature: &S390X.HasDFP}, {Name: "etf3eh", Feature: &S390X.HasETF3EH}, {Name: "msa", Feature: &S390X.HasMSA}, {Name: "aes", Feature: &S390X.HasAES}, {Name: "aescbc", Feature: &S390X.HasAESCBC}, {Name: "aesctr", Feature: &S390X.HasAESCTR}, {Name: "aesgcm", Feature: &S390X.HasAESGCM}, {Name: "ghash", Feature: &S390X.HasGHASH}, {Name: "sha1", Feature: &S390X.HasSHA1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 02 15:41:00 UTC 2020 - 4.9K bytes - Viewed (0) -
src/crypto/cipher/ctr_test.go
b[i]++ if b[i] != 0 { break } } } func xor(a, b []byte) { for i := range a { a[i] ^= b[i] } } func TestCTR(t *testing.T) { for size := 64; size <= 1024; size *= 2 { iv := make([]byte, size) ctr := cipher.NewCTR(noopBlock(size), iv) src := make([]byte, 1024) for i := range src { src[i] = 0xff } want := make([]byte, 1024) copy(want, src)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 21:38:36 UTC 2015 - 1.1K bytes - Viewed (0) -
src/crypto/cipher/ctr.go
// implementation of CTR, like crypto/aes. NewCTR will check for this interface // and return the specific Stream if found. type ctrAble interface { NewCTR(iv []byte) Stream } // NewCTR returns a [Stream] which encrypts/decrypts using the given [Block] in // counter mode. The length of iv must be the same as the [Block]'s block size. func NewCTR(block Block, iv []byte) Stream { if ctr, ok := block.(ctrAble); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/aes/aes-cbc-multiple-providers-reversed.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 14 21:59:25 UTC 2019 - 645 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/aes/aes-cbc-multiple-providers.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 14 21:59:25 UTC 2019 - 645 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go
- configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go
- configmaps - pandas.awesome.bears.example providers: - aescbc: keys: - name: key1 secret: c2VjcmV0IGlzIHNlY3VyZQ== - resources: - '*.apps' providers: - aescbc: keys: - name: key2 secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg== - resources: - '*.*' providers: - aescbc: keys: - name: key3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 5.5K bytes - Viewed (0)