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

  /external/boringssl/src/crypto/cipher/
cipher_test.cc 116 const std::vector<uint8_t> &aad,
159 // parameters are NULL, so it is important to skip the |in| and |aad|
165 (!aad.empty() &&
166 !EVP_CipherUpdate(ctx.get(), nullptr, &unused, aad.data(),
167 aad.size())) ||
231 std::vector<uint8_t> key, iv, plaintext, ciphertext, aad, tag; local
242 if (!t->GetBytes(&aad, "AAD") ||
272 plaintext, ciphertext, aad, tag)) {
278 plaintext, ciphertext, aad, tag))
    [all...]
  /external/wycheproof/java/com/google/security/wycheproof/testcases/
AesEaxTest.java 36 final byte[] aad; field in class:AesEaxTest.EaxTestVector
44 String message, String keyMaterial, String nonce, String aad, String ciphertext) {
47 this.aad = TestUtil.hexToBytes(aad);
261 cipher.updateAAD(test.aad);
273 cipher.updateAAD(test.aad);
275 // Typically one should pass the AAD in first.
AesGcmTest.java 51 final byte[] aad; field in class:AesGcmTest.GcmTestVector
64 String aad,
69 this.aad = TestUtil.hexToBytes(aad);
152 cipher.updateAAD(test.aad);
175 cipher.updateAAD(test.aad);
205 cipher.updateAAD(test.aad);
230 cipher.updateAAD(test.aad);
239 cipher.updateAAD(test.aad);
257 cipher.updateAAD(test.aad);
    [all...]
CipherInputStreamTest.java 61 public byte[] aad; field in class:CipherInputStreamTest.TestVector
72 this.aad = randomBytes(aadSize);
75 cipher.updateAAD(aad);
108 cipher.updateAAD(t.aad);
132 cipher.updateAAD(t.aad);
163 cipher.updateAAD(t.aad);
197 cipher.updateAAD(t.aad);
CipherOutputStreamTest.java 61 public byte[] aad; field in class:CipherOutputStreamTest.TestVector
71 this.aad = randomBytes(aadSize);
74 cipher.updateAAD(aad);
107 cipher.updateAAD(t.aad);
121 cipher.updateAAD(t.aad);
135 cipher.updateAAD(t.aad);
166 cipher.updateAAD(t.aad);
  /external/wpa_supplicant_8/wpa_supplicant/
mesh_rsn.c 521 const u8 *aad[] = { rsn->wpa_s->own_addr, sta->addr, cat }; local
602 aad, aad_len, mic_payload)) {
625 const u8 *aad[] = { sta->addr, wpa_s->own_addr, cat }; local
673 aad, aad_len, ampe_buf)) {
  /system/keymaster/
aes_operation.cpp 374 * the wrong thing when given partial AAD blocks, so we have to take care to process AAD in
382 keymaster_blob_t aad; local
383 if (input_params.GetTagValue(TAG_ASSOCIATED_DATA, &aad)) {
390 FillBufferedAadBlock(&aad);
395 size_t blocks_to_process = aad.data_length / AES_BLOCK_SIZE;
396 if (blocks_to_process && !ProcessAadBlocks(aad.data, blocks_to_process, error))
398 aad.data += blocks_to_process * AES_BLOCK_SIZE;
399 aad.data_length -= blocks_to_process * AES_BLOCK_SIZE;
401 FillBufferedAadBlock(&aad);
    [all...]
android_keymaster_test.cpp 2719 string aad = "foobar"; local
2762 string aad = "foobar"; local
2785 string aad = "foobar"; local
2884 string aad = "123456789012345678"; local
3136 string aad = "foobar"; local
    [all...]
  /external/syslinux/gpxe/src/net/80211/
wpa_ccmp.c 89 /** Mask for Frame Control field in AAD */
92 /** Mask for Sequence Control field in AAD */
252 * @v aad Additional authentication data, for MIC but not encryption
261 const void *aad, void *mic )
267 /* Rsv AAD - M'- - L'-
277 /* First block: AAD length field and 14 bytes of AAD */
280 memcpy ( B + 2, aad, 14 );
284 /* Second block: Remaining 8 bytes of AAD, 8 bytes zero pad */
285 memcpy ( B, aad + 14, 8 )
328 struct ccmp_aad aad; local
396 struct ccmp_aad aad; local
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLCipher.java 995 private byte[] aad; field in class:OpenSSLCipher.EVP_AEAD
    [all...]
  /external/valgrind/exp-dhat/
dh_main.c 1115 ULong aad = api->deaths == 0 local
    [all...]
  /external/wpa_supplicant_8/src/ap/
wpa_auth.c 1512 const u8 *aad[1]; local
2096 const u8 *aad[1]; local
2150 const u8 *aad[5]; local
2287 const u8 *aad[5]; local
    [all...]
  /external/wpa_supplicant_8/src/rsn_supp/
wpa.c 97 const u8 *aad[1]; local
131 /* AES-SIV AAD from EAPOL protocol version field (inclusive) to
133 aad[0] = buf;
137 1, aad, aad_len, key_data) < 0) {
1822 const u8 *aad[1]; local
    [all...]
  /hardware/interfaces/keymaster/3.0/vts/functional/
keymaster_hidl_hal_test.cpp 3348 string aad = "foobar"; local
3416 string aad = "foobar"; local
3512 string aad = "1234567890123456"; local
3754 string aad = "1234567890123456"; local
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherTest.java 3617 public final byte[] aad; field in class:CipherTest.CipherTestParam
    [all...]
  /prebuilts/tools/common/m2/repository/org/bitbucket/b_c/jose4j/0.5.0/
jose4j-0.5.0.jar 
  /external/conscrypt/common/src/jni/main/cpp/
NativeCrypto.cpp 3197 std::unique_ptr<ScopedByteArrayRO> aad; local
    [all...]
  /prebuilts/sdk/tools/lib/
signapk.jar 

Completed in 1509 milliseconds