Home
last modified time | relevance | path

Searched defs:nonce (Results 1 – 25 of 184) sorted by relevance

12345678

/external/boringssl/src/crypto/hpke/
Dtest-vectors.json1 …11032aed4a951754ee2286a786733761857f8d96a7ec8d852da93bc5eeab49623344aba","nonce":"5d99b2f03c452f7a… string
/external/boringssl/src/ssl/test/runner/hpke/testdata/
Dtest-vectors.json1 …11032aed4a951754ee2286a786733761857f8d96a7ec8d852da93bc5eeab49623344aba","nonce":"5d99b2f03c452f7a… string
/external/python/cryptography/src/cryptography/hazmat/primitives/ciphers/
Daead.py34 def encrypt(self, nonce, data, associated_data): argument
49 def decrypt(self, nonce, data, associated_data): argument
58 def _check_params(self, nonce, data, associated_data): argument
99 def encrypt(self, nonce, data, associated_data): argument
115 def decrypt(self, nonce, data, associated_data): argument
124 def _validate_lengths(self, nonce, data_len): argument
131 def _check_params(self, nonce, data, associated_data): argument
159 def encrypt(self, nonce, data, associated_data): argument
174 def decrypt(self, nonce, data, associated_data): argument
183 def _check_params(self, nonce, data, associated_data): argument
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAesGcmAeadCrypter.java47 ByteBuffer ciphertext, ByteBuffer plaintext, @Nullable ByteBuffer aad, byte[] nonce) in encryptAad()
61 ByteBuffer plaintext, ByteBuffer ciphertext, @Nullable ByteBuffer aad, byte[] nonce) in decryptAad()
75 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, byte[] nonce) in encrypt()
81 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, ByteBuffer aad, byte[] nonce) in encrypt()
87 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, byte[] nonce) in decrypt()
93 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, ByteBuffer aad, byte[] nonce) in decrypt()
DAeadCrypter.java36 void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, byte[] nonce) in encrypt()
49 void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, ByteBuffer aad, byte[] nonce) in encrypt()
61 void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, byte[] nonce) in decrypt()
74 void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, ByteBuffer aad, byte[] nonce) in decrypt()
DAesGcmHkdfAeadCrypter.java58 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, byte[] nonce) in encrypt()
66 public void encrypt(ByteBuffer ciphertext, ByteBuffer plaintext, ByteBuffer aad, byte[] nonce) in encrypt()
74 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, byte[] nonce) in decrypt()
82 public void decrypt(ByteBuffer plaintext, ByteBuffer ciphertext, ByteBuffer aad, byte[] nonce) in decrypt()
89 private void maybeRekey(byte[] nonce) throws GeneralSecurityException { in maybeRekey()
100 private static void maskNonce(byte[] nonceBuffer, byte[] nonceMask, byte[] nonce) { in maskNonce()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DAEADParameters.java10 private byte[] nonce; field in AEADParameters
21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) in AEADParameters()
34 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) in AEADParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DAEADParameters.java14 private byte[] nonce; field in AEADParameters
25 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) in AEADParameters()
38 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) in AEADParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DAEADParameters.java14 private byte[] nonce; field in AEADParameters
25 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) in AEADParameters()
38 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) in AEADParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/spec/
DAEADParameterSpec.java26 public AEADParameterSpec(byte[] nonce, int macSizeInBits) in AEADParameterSpec()
38 public AEADParameterSpec(byte[] nonce, int macSizeInBits, byte[] associatedData) in AEADParameterSpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DAEADParameterSpec.java24 public AEADParameterSpec(byte[] nonce, int macSizeInBits) in AEADParameterSpec()
36 public AEADParameterSpec(byte[] nonce, int macSizeInBits, byte[] associatedData) in AEADParameterSpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/spec/
DAEADParameterSpec.java26 public AEADParameterSpec(byte[] nonce, int macSizeInBits) in AEADParameterSpec()
38 public AEADParameterSpec(byte[] nonce, int macSizeInBits, byte[] associatedData) in AEADParameterSpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DGCMParameters.java27 private byte[] nonce; field in GCMParameters
74 byte[] nonce, in GCMParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DGCMParameters.java27 private byte[] nonce; field in GCMParameters
74 byte[] nonce, in GCMParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DGCMParameters.java25 private byte[] nonce; field in GCMParameters
72 byte[] nonce, in GCMParameters()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Daead.py27 def _aead_setup(backend, cipher_name, key, nonce, tag, tag_len, operation): argument
99 def _encrypt(backend, cipher, nonce, data, associated_data, tag_length): argument
126 def _decrypt(backend, cipher, nonce, data, associated_data, tag_length): argument
/external/wpa_supplicant_8/src/crypto/
Daes-ctr.c25 int aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce, in aes_ctr_encrypt()
67 int aes_128_ctr_encrypt(const u8 *key, const u8 *nonce, in aes_128_ctr_encrypt()
Daes-ccm.c28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start()
84 static void aes_ccm_encr_start(size_t L, const u8 *nonce, u8 *a) in aes_ccm_encr_start()
148 int aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, in aes_ccm_ae()
178 int aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, in aes_ccm_ad()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAesGcmHkdfAeadCrypterTest.java36 final byte[] nonce; field in AesGcmHkdfAeadCrypterTest.TestVector
58 byte[] nonce; field in AesGcmHkdfAeadCrypterTest.TestVectorBuilder
85 TestVectorBuilder withNonce(String nonce) { in withNonce()
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_chacha20poly1305.c54 uint8_t nonce[12]; member
65 uint8_t nonce[12]; member
188 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in chacha20_poly1305_seal_scatter()
262 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in aead_chacha20_poly1305_seal_scatter()
275 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in aead_xchacha20_poly1305_seal_scatter()
299 const uint8_t *key, uint8_t *out, const uint8_t *nonce, in chacha20_poly1305_open_gather()
344 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_chacha20_poly1305_open_gather()
356 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_xchacha20_poly1305_open_gather()
Daead_test.cc124 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
231 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
271 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
421 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; in TEST_P() local
495 std::vector<uint8_t> nonce(nonce_len, 'b'); in TEST_P() local
547 alignas(16) uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH + 1]; in TEST_P() local
637 std::vector<uint8_t> nonce(nonce_len); in TEST_P() local
687 size_t *out_ciphertext_len, const uint8_t *nonce, in aead_ctx_seal()
697 size_t *out_plaintext_len, const uint8_t *nonce, in aead_ctx_open()
730 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; in TEST_P() local
/external/boringssl/src/crypto/cipher_extra/
De_chacha20poly1305.c113 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in chacha20_poly1305_seal_scatter()
187 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in aead_chacha20_poly1305_seal_scatter()
200 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in aead_xchacha20_poly1305_seal_scatter()
224 const uint8_t *key, uint8_t *out, const uint8_t *nonce, in chacha20_poly1305_open_gather()
269 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_chacha20_poly1305_open_gather()
281 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_xchacha20_poly1305_open_gather()
Daead_test.cc193 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
302 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
342 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
493 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; in TEST_P() local
568 std::vector<uint8_t> nonce(nonce_len, 'b'); in TEST_P() local
623 alignas(16) uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH + 1]; in TEST_P() local
716 std::vector<uint8_t> nonce(nonce_len); in TEST_P() local
766 size_t *out_ciphertext_len, const uint8_t *nonce, in aead_ctx_seal()
776 size_t *out_plaintext_len, const uint8_t *nonce, in aead_ctx_open()
810 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; in TEST_P() local
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/crypt/
Dgsec.cc39 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt()
61 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt_iovec()
79 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt()
99 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt_iovec()
/external/grpc-grpc/src/core/tsi/alts/crypt/
Dgsec.cc39 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt()
60 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt_iovec()
78 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt()
98 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt_iovec()

12345678