/third_party/openssl/test/recipes/30-test_evp_data/ |
D | evpciph_aes_ccm_cavs.txt | 2 # Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved. 9 # Tests from NIST CCM Test Vectors (SP800-38C) 11 Title = NIST CCM 128 Decryption-Verfication Process Tests 13 Cipher = aes-128-ccm 15 IV = 5a8aa485c316e9 21 Cipher = aes-128-ccm 23 IV = 3796cf51b87266 31 Cipher = aes-128-ccm 33 IV = 89ca5a64050f9f 41 Cipher = aes-128-ccm [all …]
|
D | evpciph_aes_common.txt | 2 # Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved. 16 Title = AES (from FIPS-197 test vectors) 18 Cipher = AES-128-ECB 24 # AES 192 ECB tests (from FIPS-197 test vectors, encrypt) 26 Cipher = AES-192-ECB 33 # AES 256 ECB tests (from FIPS-197 test vectors, encrypt) 35 Cipher = AES-256-ECB 44 #AES-128-ECB:00000000000000000000000000000000::00000000000000000000000000000000:C34C052CC0DA8D73451… 48 #AES-128-ECB:00000000000000000000000000000000::44416AC2D1F53C583303917E6BE9EBE0:0000000000000000000… 52 #AES-192-ECB:000000000000000000000000000000000000000000000000::48E31E9E256718F29229319C19F15BA4:000… [all …]
|
D | evpciph_cast5.txt | 12 Cipher = CAST5-CBC 14 IV = 2fe2b333ceda8f98 19 Cipher = CAST5-CBC 21 IV = aad1583cd91365e3 26 Cipher = CAST5-CBC 28 IV = 19153c673160df2b 33 Cipher = CAST5-CBC 35 IV = c80f095d8bb1a060 40 Cipher = CAST5-CBC 42 IV = 3f9d5ebe250ee7ce [all …]
|
D | evpciph_camellia.txt | 2 # Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved. 17 # CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec 18 Cipher = CAMELLIA-128-ECB 23 Cipher = CAMELLIA-192-ECB 28 Cipher = CAMELLIA-256-ECB 33 # ECB-CAMELLIA128.Encrypt 34 Cipher = CAMELLIA-128-ECB 40 Cipher = CAMELLIA-192-ECB 46 Cipher = CAMELLIA-256-ECB 53 # ECB-CAMELLIA128.Encrypt and ECB-CAMELLIA128.Decrypt [all …]
|
D | evpciph_idea.txt | 13 Cipher = IDEA-CBC 15 IV = 2fe2b333ceda8f98 20 Cipher = IDEA-CBC 22 IV = aad1583cd91365e3 27 Cipher = IDEA-CBC 29 IV = 19153c673160df2b 34 Cipher = IDEA-CBC 36 IV = c80f095d8bb1a060 41 Cipher = IDEA-CBC 43 IV = 3f9d5ebe250ee7ce [all …]
|
D | evpciph_seed.txt | 2 # Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 12 Cipher = SEED-CBC 14 IV = 93eb149f92c9905bae5cd34da06c3c8e 20 Cipher = SEED-CBC 22 IV = 268d66a735a81a816fbad9fa36162501 30 Cipher = SEED-ECB 37 Cipher = SEED-ECB 44 Cipher = SEED-ECB 51 Cipher = SEED-ECB 58 Cipher = SEED-ECB [all …]
|
D | evpciph_aes_cts.txt | 2 # Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 10 # These have an IV of all zeros, for a 128 bit AES key. 14 #------------------------------------------------------ 18 Cipher = AES-128-CBC 20 IV = 00000000000000000000000000000000 25 Cipher = AES-128-CBC 27 IV = 00000000000000000000000000000000 32 Cipher = AES-128-CBC 34 IV = 00000000000000000000000000000000 40 #------------------------------------------------------ [all …]
|
D | evpciph_aes_ocb.txt | 2 # Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved. 16 Cipher = aes-128-ocb 18 IV = 000102030405060708090A0B 24 Cipher = aes-128-ocb 26 IV = 000102030405060708090A0B 32 Cipher = aes-128-ocb 34 IV = 000102030405060708090A0B 40 Cipher = aes-128-ocb 42 IV = 000102030405060708090A0B 48 Cipher = aes-128-ocb [all …]
|
D | evpciph_aria.txt | 2 # Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved. 16 Cipher = ARIA-128-ECB 21 Cipher = ARIA-192-ECB 26 Cipher = ARIA-256-ECB 31 # Additional ARIA mode vectors from http://210.104.33.10/ARIA/doc/ARIA-testvector-e.pdf 32 Cipher = ARIA-128-ECB 37 Cipher = ARIA-128-CBC 39 IV = 0f1e2d3c4b5a69788796a5b4c3d2e1f0 44 Cipher = ARIA-128-CFB 46 IV = 0f1e2d3c4b5a69788796a5b4c3d2e1f0 [all …]
|
D | evpciph_chacha.txt | 2 # Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved. 19 IV = 00000000000000000000000000000000 26 IV = 01000000000000000000000000000000 34 #Counter (first 4 bytes) expressed in little-endian order 35 IV = 01000000000000000000000000000002 42 #Counter (first 4 bytes) expressed in little-endian order 43 IV = 2a000000000000000000000000000002 51 IV = 00000000000000000000000000000000 57 IV = 00000000000000000000000000000001 63 IV = 00000000000000000100000000000000 [all …]
|
/third_party/FreeBSD/sys/crypto/rijndael/ |
D | rijndael-api-fst.c | 1 /* $KAME: rijndael-api-fst.c,v 1.10 2001/05/27 09:34:18 itojun Exp $ */ 4 * rijndael-api-fst.c v2.3 April '2000 30 #include <crypto/rijndael/rijndael-api-fst.h> 46 key->direction = direction; in rijndael_makeKey() 52 key->keyLen = keyLen; in rijndael_makeKey() 58 memcpy(key->keyMaterial, keyMaterial, keyLen/8); in rijndael_makeKey() 63 key->Nr = rijndaelKeySetupEnc(key->rk, (const u8 *)(key->keyMaterial), keyLen); in rijndael_makeKey() 65 key->Nr = rijndaelKeySetupDec(key->rk, (const u8 *)(key->keyMaterial), keyLen); in rijndael_makeKey() 67 rijndaelKeySetupEnc(key->ek, (const u8 *)(key->keyMaterial), keyLen); in rijndael_makeKey() 71 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { in rijndael_cipherInit() argument [all …]
|
/third_party/node/test/fixtures/ |
D | aead-vectors.js | 2 { algo: 'aes-128-gcm', 4 iv: '583673497131313748307652', plain: 'Hello World!', property 7 { algo: 'aes-128-gcm', 9 iv: '583673497131313748307652', plain: 'Hello World!', property 12 { algo: 'aes-128-gcm', 14 iv: '583673497131313748307652', plain: 'Hello World!', property 17 { algo: 'aes-256-gcm', 19 iv: '36306950306836764a6f4561', plain: 'Hello node.js world!', property 22 { algo: 'aes-256-gcm', 24 iv: '36306950306836764a6f4561', plain: 'Hello node.js world!', property [all …]
|
/third_party/openssl/crypto/des/ |
D | cfb64ede.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 33 unsigned char *iv, c, cc; in DES_ede3_cfb64_encrypt() local 35 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt() 37 while (l--) { in DES_ede3_cfb64_encrypt() 39 c2l(iv, v0); in DES_ede3_cfb64_encrypt() 40 c2l(iv, v1); in DES_ede3_cfb64_encrypt() 48 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt() 49 l2c(v0, iv); in DES_ede3_cfb64_encrypt() 50 l2c(v1, iv); in DES_ede3_cfb64_encrypt() 51 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt() [all …]
|
D | cfb_enc.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 27 * Until Aug 1 2003 this function did not correctly implement CFB-r, so it 39 unsigned char *iv; in DES_cfb_encrypt() local 48 /* but 16-bit platforms... */ in DES_cfb_encrypt() 54 iv = &(*ivec)[0]; in DES_cfb_encrypt() 55 c2l(iv, v0); in DES_cfb_encrypt() 56 c2l(iv, v1); in DES_cfb_encrypt() 59 l -= n; in DES_cfb_encrypt() 70 * 30-08-94 - eay - changed because l>>32 and l<<32 are bad under in DES_cfb_encrypt() 71 * gcc :-( in DES_cfb_encrypt() [all …]
|
D | cfb64enc.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 32 unsigned char *iv, c, cc; in DES_cfb64_encrypt() local 34 iv = &(*ivec)[0]; in DES_cfb64_encrypt() 36 while (l--) { in DES_cfb64_encrypt() 38 c2l(iv, v0); in DES_cfb64_encrypt() 40 c2l(iv, v1); in DES_cfb64_encrypt() 43 iv = &(*ivec)[0]; in DES_cfb64_encrypt() 45 l2c(v0, iv); in DES_cfb64_encrypt() 47 l2c(v0, iv); in DES_cfb64_encrypt() 48 iv = &(*ivec)[0]; in DES_cfb64_encrypt() [all …]
|
/third_party/node/test/parallel/ |
D | test-crypto-cipheriv-decipheriv.js | 9 function testCipher1(key, iv) { argument 10 // Test encryption and decryption with explicit key and iv 15 const cipher = crypto.createCipheriv('des-ede3-cbc', key, iv); 19 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv); 24 `encryption/decryption with key ${key} and iv ${iv}`); 30 const cStream = crypto.createCipheriv('des-ede3-cbc', key, iv); 34 const dStream = crypto.createDecipheriv('des-ede3-cbc', key, iv); 39 `streaming cipher with key ${key} and iv ${iv}`); 43 function testCipher2(key, iv) { argument 44 // Test encryption and decryption with explicit key and iv [all …]
|
/third_party/openssl/test/ |
D | igetest.c | 2 * Copyright 2006-2017 The OpenSSL Project Authors. All Rights Reserved. 39 const unsigned char iv[32]; member 52 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f}, /* iv */ 68 0x72, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x53}, /* iv */ 83 const unsigned char iv[64]; member 103 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f}, /* iv */ 128 0x48, 0x79, 0x37, 0x99, 0xff, 0x27, 0x93, 0xa3}, /* iv */ 154 unsigned char iv[AES_BLOCK_SIZE * 2]; in test_ige_vectors() local 157 if (!TEST_int_le(v->length, MAX_VECTOR_SIZE)) in test_ige_vectors() 160 if (v->encrypt == AES_ENCRYPT) in test_ige_vectors() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ccm.function | 9 const data_t *iv, 19 size_t n2 = input->len - n1; 20 size_t n2_add = add->len - n1_add; 24 TEST_ASSERT( n1 <= input->len ); 25 TEST_ASSERT( n1_add <= add->len ); 26 TEST_EQUAL( input->len, expected_output->len ); 27 TEST_EQUAL( 0, mbedtls_ccm_starts( ctx, mode, iv->x, iv->len ) ); 28 TEST_EQUAL( 0, mbedtls_ccm_set_lengths( ctx, add->len, input->len, tag->len ) ); 29 TEST_EQUAL( 0, mbedtls_ccm_update_ad( ctx, add->x, n1_add) ); 30 TEST_EQUAL( 0, mbedtls_ccm_update_ad( ctx, add->x + n1_add, n2_add ) ); [all …]
|
/third_party/openssl/crypto/evp/ |
D | e_aes.c | 2 * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved. 12 * non-internal use) in order to implement the EVP AES ciphers. 50 int iv_set; /* Set if an iv is set */ 52 unsigned char *iv; /* Temporary IV store */ member 53 int ivlen; /* IV length */ 56 int iv_gen_rand; /* No IV was specified, so generate a rand IV */ 71 const unsigned char iv[16]); 86 int iv_set; /* Set if an iv is set */ 106 int iv_set; /* Set if an iv is set */ 108 unsigned char *iv; /* Temporary IV store */ member [all …]
|
D | e_aria.c | 2 * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved. 35 int iv_set; /* Set if an iv is set */ 37 unsigned char *iv; /* Temporary IV store */ member 38 int ivlen; /* IV length */ 51 int iv_set; /* Set if an iv is set */ 62 const unsigned char *iv, int enc) in aria_init_key() argument 186 CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, ctx->iv, in aria_ctr_cipher() 199 /* increment counter (64-bit int) by 1 */ 206 --n; in ctr64_inc() 216 const unsigned char *iv, int enc) in aria_gcm_init_key() argument [all …]
|
/third_party/e2fsprogs/prebuilt/target/lib/ |
D | libext2_blkid.so | ... iV 5 iV 5 iV 5 iV K =V iV 5 iV 5 iV 5 iV eW 9 QX 9 ... |
/third_party/openssl/crypto/bf/ |
D | bf_cfb64.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 33 unsigned char *iv, c, cc; in BF_cfb64_encrypt() local 35 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() 37 while (l--) { in BF_cfb64_encrypt() 39 n2l(iv, v0); in BF_cfb64_encrypt() 41 n2l(iv, v1); in BF_cfb64_encrypt() 44 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() 46 l2n(t, iv); in BF_cfb64_encrypt() 48 l2n(t, iv); in BF_cfb64_encrypt() 49 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() [all …]
|
/third_party/openssl/crypto/cast/ |
D | c_cfb64.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 33 unsigned char *iv, c, cc; in CAST_cfb64_encrypt() local 35 iv = ivec; in CAST_cfb64_encrypt() 37 while (l--) { in CAST_cfb64_encrypt() 39 n2l(iv, v0); in CAST_cfb64_encrypt() 41 n2l(iv, v1); in CAST_cfb64_encrypt() 44 iv = ivec; in CAST_cfb64_encrypt() 46 l2n(t, iv); in CAST_cfb64_encrypt() 48 l2n(t, iv); in CAST_cfb64_encrypt() 49 iv = ivec; in CAST_cfb64_encrypt() [all …]
|
/third_party/openssl/crypto/rc2/ |
D | rc2cfb64.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 33 unsigned char *iv, c, cc; in RC2_cfb64_encrypt() local 35 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() 37 while (l--) { in RC2_cfb64_encrypt() 39 c2l(iv, v0); in RC2_cfb64_encrypt() 41 c2l(iv, v1); in RC2_cfb64_encrypt() 44 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() 46 l2c(t, iv); in RC2_cfb64_encrypt() 48 l2c(t, iv); in RC2_cfb64_encrypt() 49 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() [all …]
|
/third_party/openssl/crypto/rc5/ |
D | rc5cfb64.c | 2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. 33 unsigned char *iv, c, cc; in RC5_32_cfb64_encrypt() local 35 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() 37 while (l--) { in RC5_32_cfb64_encrypt() 39 c2l(iv, v0); in RC5_32_cfb64_encrypt() 41 c2l(iv, v1); in RC5_32_cfb64_encrypt() 44 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() 46 l2c(t, iv); in RC5_32_cfb64_encrypt() 48 l2c(t, iv); in RC5_32_cfb64_encrypt() 49 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() [all …]
|