/openssl/crypto/modes/ |
H A D | cfb128.c | 55 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt() 67 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt() 81 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt() 95 ivec[n] = c; in CRYPTO_cfb128_encrypt() 105 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt() 118 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt() 122 ivec[n] = c; in CRYPTO_cfb128_encrypt() 135 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt() 138 ivec[n] = c; in CRYPTO_cfb128_encrypt() 163 memcpy(ovec, ivec, 16); in cfbr_encrypt_block() [all …]
|
H A D | cts128.c | 48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block() 49 (*block) (ivec, ivec, key); in CRYPTO_cts128_encrypt_block() 51 memcpy(out - 16, ivec, 16); in CRYPTO_cts128_encrypt_block() 80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block() 81 (*block) (ivec, ivec, key); in CRYPTO_nistcts128_encrypt_block() 105 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_cts128_encrypt() 140 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_nistcts128_encrypt() 191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block() 192 ivec[n] = c; in CRYPTO_cts128_decrypt_block() 238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block() [all …]
|
H A D | ofb128.c | 27 unsigned char ivec[16], int *num, block128_f block) in CRYPTO_ofb128_encrypt() 43 *(out++) = *(in++) ^ ivec[n]; in CRYPTO_ofb128_encrypt() 48 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != in CRYPTO_ofb128_encrypt() 53 (*block) (ivec, ivec, key); in CRYPTO_ofb128_encrypt() 57 ^ *(size_t_aX *)(ivec + n); in CRYPTO_ofb128_encrypt() 64 (*block) (ivec, ivec, key); in CRYPTO_ofb128_encrypt() 66 out[n] = in[n] ^ ivec[n]; in CRYPTO_ofb128_encrypt() 78 (*block) (ivec, ivec, key); in CRYPTO_ofb128_encrypt() 80 out[l] = in[l] ^ ivec[n]; in CRYPTO_ofb128_encrypt()
|
H A D | cbc128.c | 29 const unsigned char *iv = ivec; in CRYPTO_cbc128_encrypt() 72 if (ivec != iv) in CRYPTO_cbc128_encrypt() 73 memcpy(ivec, iv, 16); in CRYPTO_cbc128_encrypt() 91 const unsigned char *iv = ivec; in CRYPTO_cbc128_decrypt() 118 if (ivec != iv) in CRYPTO_cbc128_decrypt() 119 memcpy(ivec, iv, 16); in CRYPTO_cbc128_decrypt() 128 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt() 129 ivec[n] = c; in CRYPTO_cbc128_decrypt() 160 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt() 161 ivec[n] = c; in CRYPTO_cbc128_decrypt() [all …]
|
H A D | ctr128.c | 99 (*block) (ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt() 100 ctr128_inc_aligned(ivec); in CRYPTO_ctr128_encrypt() 112 ctr128_inc_aligned(ivec); in CRYPTO_ctr128_encrypt() 126 (*block) (ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt() 127 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt() 166 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32() 187 (*func) (in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32() 189 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32() 192 ctr96_inc(ivec); in CRYPTO_ctr128_encrypt_ctr32() 202 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32() [all …]
|
/openssl/crypto/aes/ |
H A D | aes_ige.c | 58 OPENSSL_assert(in && out && key && ivec); in AES_ige_encrypt() 93 load_block(iv, ivec); in AES_ige_encrypt() 146 load_block(iv, ivec); in AES_ige_encrypt() 211 iv = ivec; in AES_bi_ige_encrypt() 212 iv2 = ivec + AES_BLOCK_SIZE; in AES_bi_ige_encrypt() 228 iv = ivec + AES_BLOCK_SIZE * 2; in AES_bi_ige_encrypt() 229 iv2 = ivec + AES_BLOCK_SIZE * 3; in AES_bi_ige_encrypt() 261 iv = ivec + AES_BLOCK_SIZE * 2; in AES_bi_ige_encrypt() 262 iv2 = ivec + AES_BLOCK_SIZE * 3; in AES_bi_ige_encrypt() 282 iv = ivec; in AES_bi_ige_encrypt() [all …]
|
H A D | aes_cfb.c | 27 unsigned char *ivec, int *num, const int enc) in AES_cfb128_encrypt() argument 30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, in AES_cfb128_encrypt() 37 unsigned char *ivec, int *num, const int enc) in AES_cfb1_encrypt() argument 39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, in AES_cfb1_encrypt() 45 unsigned char *ivec, int *num, const int enc) in AES_cfb8_encrypt() argument 47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, in AES_cfb8_encrypt()
|
/openssl/include/crypto/ |
H A D | aes_platform.h | 34 unsigned char ivec[16], int enc); 38 const unsigned char ivec[16]); 50 const unsigned char ivec[AES_BLOCK_SIZE]); 155 unsigned char ivec[16], u64 *Xi); 157 unsigned char ivec[16], u64 *Xi); 250 const unsigned char ivec[16], 257 const unsigned char ivec[16], 325 unsigned char *ivec); 328 unsigned char *ivec); 331 unsigned char *ivec); [all …]
|
H A D | sm4_platform.h | 65 unsigned char *ivec, const int enc); 71 const unsigned char ivec[16]); 83 unsigned char *ivec, const int enc); 89 const unsigned char ivec[16]); 92 const unsigned char ivec[16], const int enc); 95 const unsigned char ivec[16], const int enc); 107 unsigned char *ivec, const int enc); 113 const unsigned char ivec[16]); 116 const unsigned char ivec[16], const int enc); 119 const SM4_KEY *key2, const unsigned char ivec[16],
|
H A D | cmll_platform.h | 31 unsigned char *ivec, int /*unused*/); 34 unsigned char *ivec, int /*unused*/); 37 unsigned char *ivec, int /*unused*/); 40 unsigned char *ivec, int /*unused*/); 43 unsigned char *ivec); 46 unsigned char *ivec);
|
/openssl/crypto/perlasm/ |
H A D | sparcv9_modes.pl | 56 alignaddr $ivec, %g0, $ivec 60 ldd [$ivec + 8], %f2 67 ld [$ivec + 0], %f0 68 ld [$ivec + 4], %f1 69 ld [$ivec + 8], %f2 127 st %f0, [$ivec + 0] 185 add $ivec, 16, $ivec 274 alignaddr $ivec, %g0, $ivec 518 add $ivec, 16, $ivec 926 my $rem=$ivec; [all …]
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_gcm_hw_armv8.inc | 16 const void *key, unsigned char ivec[16], u64 *Xi) 26 … unroll8_eor3_aes_gcm_enc_128_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 28 aes_gcm_enc_128_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 33 … unroll8_eor3_aes_gcm_enc_192_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 35 aes_gcm_enc_192_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 40 … unroll8_eor3_aes_gcm_enc_256_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 42 aes_gcm_enc_256_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 50 const void *key, unsigned char ivec[16], u64 *Xi) 62 aes_gcm_dec_128_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); 69 aes_gcm_dec_192_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key); [all …]
|
/openssl/crypto/sm4/asm/ |
H A D | sm4-armv8.pl | 340 my ($ivec) = ("v8"); 390 eor $ivec.16b,$ivec.16b,@dat[0].16b 392 &rev32($ivec,$ivec); 393 &enc_blk($ivec); 394 &rev32($ivec,$ivec); 493 my ($ivec)=("v8"); 506 &rev32($ivec,$ivec); 508 mov $ctr,$ivec.s[3] 563 mov $ivec.s[3],$ctr 581 mov $ivec.s[3],$ctr [all …]
|
/openssl/include/openssl/ |
H A D | modes.h | 30 unsigned char ivec[16], int enc); 38 const unsigned char ivec[16]); 42 const unsigned char ivec[16], 54 unsigned char ivec[16], 60 unsigned char ivec[16], 66 unsigned char ivec[16], int *num, 71 unsigned char ivec[16], int *num, 75 unsigned char ivec[16], int *num, 79 unsigned char ivec[16], int *num, 100 unsigned char ivec[16], [all …]
|
H A D | des.h | 84 const_DES_cblock *ivec); 90 long length, DES_key_schedule *schedule, DES_cblock *ivec, 94 long length, DES_key_schedule *schedule, DES_cblock *ivec, 102 long length, DES_key_schedule *schedule, DES_cblock *ivec, 145 DES_cblock *ivec, int enc); 150 DES_cblock *ivec, int *num, int enc); 155 DES_cblock *ivec, int enc); 160 DES_cblock *ivec, int *num); 171 DES_cblock *ivec, int enc); 199 DES_cblock *ivec, int *num, int enc); [all …]
|
H A D | aes.h | 68 unsigned char *ivec, const int enc); 72 unsigned char *ivec, int *num, const int enc); 76 unsigned char *ivec, int *num, const int enc); 80 unsigned char *ivec, int *num, const int enc); 84 unsigned char *ivec, int *num); 90 unsigned char *ivec, const int enc); 95 const unsigned char *ivec, const int enc);
|
H A D | camellia.h | 75 unsigned char *ivec, 81 unsigned char *ivec, 88 unsigned char *ivec, 95 unsigned char *ivec, 102 unsigned char *ivec, 107 unsigned char ivec[CAMELLIA_BLOCK_SIZE],
|
/openssl/crypto/camellia/ |
H A D | cmll_cfb.c | 27 unsigned char *ivec, int *num, const int enc) in Camellia_cfb128_encrypt() argument 30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb128_encrypt() 37 unsigned char *ivec, int *num, const int enc) in Camellia_cfb1_encrypt() argument 39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb1_encrypt() 45 unsigned char *ivec, int *num, const int enc) in Camellia_cfb8_encrypt() argument 47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb8_encrypt()
|
/openssl/crypto/des/asm/ |
H A D | dest4-sparcv9.pl | 113 ld [$ivec + 4], %f1 182 st %f1, [$ivec + 4] 203 st %f1, [$ivec + 4] 214 ld [$ivec + 4], %f3 285 st %f3, [$ivec + 4] 303 st %f3, [$ivec + 4] 322 ld [$ivec + 4], %f1 445 st %f1, [$ivec + 4] 463 st %f1, [$ivec + 4] 474 ld [$ivec + 4], %f3 [all …]
|
/openssl/crypto/bf/ |
H A D | bf_cfb64.c | 27 unsigned char *ivec, int *num, int encrypt) in BF_cfb64_encrypt() argument 35 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() 44 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() 49 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() 64 iv = (unsigned char *)ivec; in BF_cfb64_encrypt() 69 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
|
/openssl/crypto/rc2/ |
H A D | rc2cfb64.c | 26 long length, RC2_KEY *schedule, unsigned char *ivec, in RC2_cfb64_encrypt() argument 35 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() 44 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() 49 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() 64 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt() 69 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
|
/openssl/crypto/rc5/ |
H A D | rc5cfb64.c | 27 unsigned char *ivec, int *num, int encrypt) in RC5_32_cfb64_encrypt() argument 35 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() 44 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() 49 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() 64 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt() 69 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
|
/openssl/crypto/cast/ |
H A D | c_cfb64.c | 27 unsigned char *ivec, int *num, int enc) in CAST_cfb64_encrypt() argument 35 iv = ivec; in CAST_cfb64_encrypt() 44 iv = ivec; in CAST_cfb64_encrypt() 49 iv = ivec; in CAST_cfb64_encrypt() 64 iv = ivec; in CAST_cfb64_encrypt() 69 iv = ivec; in CAST_cfb64_encrypt()
|
/openssl/crypto/des/ |
H A D | cfb64enc.c | 26 DES_cblock *ivec, int *num, int enc) in DES_cfb64_encrypt() argument 34 iv = &(*ivec)[0]; in DES_cfb64_encrypt() 43 iv = &(*ivec)[0]; in DES_cfb64_encrypt() 48 iv = &(*ivec)[0]; in DES_cfb64_encrypt() 63 iv = &(*ivec)[0]; in DES_cfb64_encrypt() 68 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
|
/openssl/crypto/idea/ |
H A D | i_cfb64.c | 28 unsigned char *ivec, int *num, int encrypt) in IDEA_cfb64_encrypt() argument 41 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt() 50 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt() 55 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt() 70 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt() 75 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
|