HomeSort by relevance Sort by last modified time
    Searched defs:NonceSize (Results 1 - 15 of 15) sorted by null

  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/
chacha20poly1305.go 16 // NonceSize is the size of the nonce used with this AEAD, in bytes.
17 NonceSize = 12
34 func (c *chacha20poly1305) NonceSize() int {
35 return NonceSize
43 if len(nonce) != NonceSize {
57 if len(nonce) != NonceSize {
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/
chacha20poly1305.go 16 // NonceSize is the size of the nonce used with this AEAD, in bytes.
17 NonceSize = 12
34 func (c *chacha20poly1305) NonceSize() int {
35 return NonceSize
43 if len(nonce) != NonceSize {
57 if len(nonce) != NonceSize {
  /external/boringssl/src/ssl/test/runner/
chacha20_poly1305.go 133 func (c *chaCha20Poly1305) NonceSize() int {
162 if len(nonce) != c.NonceSize() {
177 if len(nonce) != c.NonceSize() {
cipher_suites.go 258 func (f *fixedNonceAEAD) NonceSize() int { return 8 }
308 func (x *xorNonceAEAD) NonceSize() int { return 8 }
  /prebuilts/go/darwin-x86/src/crypto/aes/
aes_gcm.go 56 func (c *aesCipherGCM) NewGCM(nonceSize int) (cipher.AEAD, error) {
57 g := &gcmAsm{ks: c.enc, nonceSize: nonceSize}
69 // nonceSize contains the expected size of the nonce, in bytes.
70 nonceSize int
73 func (g *gcmAsm) NonceSize() int {
74 return g.nonceSize
99 if len(nonce) != g.nonceSize {
136 if len(nonce) != g.nonceSize {
gcm_s390x.go 55 nonceSize int
71 func (c *aesCipherAsm) NewGCM(nonceSize int) (cipher.AEAD, error) {
77 nonceSize: nonceSize,
82 func (g *gcmAsm) NonceSize() int {
83 return g.nonceSize
209 if len(nonce) != g.nonceSize {
233 if len(nonce) != g.nonceSize {
modes_test.go 44 func (*testAEAD) NonceSize() int { return 0 }
  /prebuilts/go/linux-x86/src/crypto/aes/
aes_gcm.go 56 func (c *aesCipherGCM) NewGCM(nonceSize int) (cipher.AEAD, error) {
57 g := &gcmAsm{ks: c.enc, nonceSize: nonceSize}
69 // nonceSize contains the expected size of the nonce, in bytes.
70 nonceSize int
73 func (g *gcmAsm) NonceSize() int {
74 return g.nonceSize
99 if len(nonce) != g.nonceSize {
136 if len(nonce) != g.nonceSize {
gcm_s390x.go 55 nonceSize int
71 func (c *aesCipherAsm) NewGCM(nonceSize int) (cipher.AEAD, error) {
77 nonceSize: nonceSize,
82 func (g *gcmAsm) NonceSize() int {
83 return g.nonceSize
209 if len(nonce) != g.nonceSize {
233 if len(nonce) != g.nonceSize {
modes_test.go 44 func (*testAEAD) NonceSize() int { return 0 }
  /prebuilts/go/darwin-x86/src/crypto/cipher/
gcm.go 16 // NonceSize returns the size of the nonce that must be passed to Seal
18 NonceSize() int
26 // slice. The nonce must be NonceSize() bytes long and unique for all
35 // to dst, returning the updated slice. The nonce must be NonceSize()
69 nonceSize int
103 g := &gcm{cipher: cipher, nonceSize: size}
130 func (g *gcm) NonceSize() int {
131 return g.nonceSize
139 if len(nonce) != g.nonceSize {
163 if len(nonce) != g.nonceSize {
    [all...]
  /prebuilts/go/linux-x86/src/crypto/cipher/
gcm.go 16 // NonceSize returns the size of the nonce that must be passed to Seal
18 NonceSize() int
26 // slice. The nonce must be NonceSize() bytes long and unique for all
35 // to dst, returning the updated slice. The nonce must be NonceSize()
69 nonceSize int
103 g := &gcm{cipher: cipher, nonceSize: size}
130 func (g *gcm) NonceSize() int {
131 return g.nonceSize
139 if len(nonce) != g.nonceSize {
163 if len(nonce) != g.nonceSize {
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
Sa.c 249 UINTN NonceSize;
299 NonceSize = NoncePayload->PayloadSize - sizeof (IKEV2_COMMON_PAYLOAD_HEADER);
300 NonceBuffer = (UINT8 *) AllocatePool (NonceSize);
305 NonceSize
334 IkeSaSession->NrBlkSize = NonceSize;
373 IkeSaSession->NiBlkSize = NonceSize;
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/tls/
cipher_suites.go 169 func (f *fixedNonceAEAD) NonceSize() int { return 8 }
190 func (f *xorNonceAEAD) NonceSize() int { return 8 }
  /prebuilts/go/linux-x86/src/crypto/tls/
cipher_suites.go 169 func (f *fixedNonceAEAD) NonceSize() int { return 8 }
190 func (f *xorNonceAEAD) NonceSize() int { return 8 }

Completed in 398 milliseconds