Home
last modified time | relevance | path

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

1234

/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/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/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/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/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/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DGCMParameters.java25 private byte[] nonce; field in GCMParameters
72 byte[] nonce, in GCMParameters()
/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/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()
Daes-eax.c28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_encrypt()
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_decrypt()
/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/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()
De_aesctrhmac.c123 const uint8_t *nonce, const uint8_t *ciphertext, in hmac_calculate()
154 const uint8_t *in, size_t len, const uint8_t *nonce) { in aead_aes_ctr_hmac_sha256_crypt()
178 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in aead_aes_ctr_hmac_sha256_seal_scatter()
213 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_aes_ctr_hmac_sha256_open_gather()
Daead_test.cc121 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
228 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
268 std::vector<uint8_t> key, nonce, in, ad, ct, tag; in TEST_P() local
418 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; in TEST_P() local
492 std::vector<uint8_t> nonce(nonce_len, 'b'); in TEST_P() local
544 alignas(64) uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH + 1]; in TEST_P() local
De_aesccm.c83 size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, in aead_aes_ccm_seal_scatter()
116 const uint8_t *nonce, size_t nonce_len, in aead_aes_ccm_open_gather()
/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()
Daes_gcm.cc169 static void aes_gcm_mask_nonce(uint8_t* dst, const uint8_t* nonce, in aes_gcm_mask_nonce()
218 gsec_aes_gcm_aead_crypter* aes_gcm_crypter, const uint8_t* nonce, in aes_gcm_rekey_if_required()
247 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aes_gcm_aead_crypter_encrypt_iovec()
385 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aes_gcm_aead_crypter_decrypt_iovec()
/external/boringssl/src/crypto/fipsmodule/modes/
Dccm.c64 } nonce, cmac; member
86 const uint8_t *nonce, size_t nonce_len, in ccm128_init_state()
236 const uint8_t *nonce, size_t nonce_len, in CRYPTO_ccm128_encrypt()
248 const uint8_t *nonce, size_t nonce_len, in CRYPTO_ccm128_decrypt()
/external/boringssl/src/crypto/fipsmodule/cipher/
Daead.c116 size_t max_out_len, const uint8_t *nonce, in EVP_AEAD_CTX_seal()
152 *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, size_t in EVP_AEAD_CTX_seal_scatter()
184 size_t max_out_len, const uint8_t *nonce, in EVP_AEAD_CTX_open()
230 const uint8_t *nonce, size_t nonce_len, in EVP_AEAD_CTX_open_gather()
/external/boringssl/src/crypto/rand_extra/
Ddeterministic.c39 uint8_t nonce[12]; in CRYPTO_sysrand() local
/external/nos/test/system-test-harness/tools/
Davb_tools.h28 uint64_t nonce; member
/external/libcups/cups/
Dmd5passwd.c65 httpMD5Final(const char *nonce, /* I - Server nonce value */ in httpMD5Final()
/external/ImageMagick/MagickCore/
Drandom.c85 *nonce, member
175 *nonce; in AcquireRandomInfo() local
860 static inline void IncrementRandomNonce(StringInfo *nonce) in IncrementRandomNonce()

1234