/openssl-master/crypto/des/ |
A D | str2key.c | 46 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument 51 memset(key1, 0, 8); in DES_string_to_2keys() 59 (*key1)[i % 8] ^= (j << 1); in DES_string_to_2keys() 67 (*key1)[7 - (i % 8)] ^= j; in DES_string_to_2keys() 73 memcpy(key2, key1, 8); in DES_string_to_2keys() 74 DES_set_odd_parity(key1); in DES_string_to_2keys() 76 DES_set_key_unchecked(key1, &ks); in DES_string_to_2keys() 77 DES_cbc_cksum((const unsigned char *)str, key1, length, &ks, key1); in DES_string_to_2keys() 81 DES_set_odd_parity(key1); in DES_string_to_2keys()
|
/openssl-master/include/crypto/ |
A D | aes_platform.h | 40 size_t len, const AES_KEY *key1, 43 size_t len, const AES_KEY *key1, 55 const AES_KEY *key1, const AES_KEY *key2, 58 const AES_KEY *key1, const AES_KEY *key2, 196 const AES_KEY *key1, const AES_KEY *key2, 292 size_t blocks, const AES_KEY *key1, 295 size_t blocks, const AES_KEY *key1, 298 size_t blocks, const AES_KEY *key1, 301 size_t blocks, const AES_KEY *key1, 420 size_t len, const AES_KEY *key1, [all …]
|
A D | modes.h | 147 void *key1, *key2; member
|
/openssl-master/providers/implementations/keymgmt/ |
A D | mac_legacy_kmgmt.c | 160 const MAC_KEY *key1 = keydata1; in mac_match() local 168 if ((key1->priv_key == NULL && key2->priv_key != NULL) in mac_match() 169 || (key1->priv_key != NULL && key2->priv_key == NULL) in mac_match() 170 || key1->priv_key_len != key2->priv_key_len in mac_match() 171 || (key1->cipher.cipher == NULL && key2->cipher.cipher != NULL) in mac_match() 172 || (key1->cipher.cipher != NULL && key2->cipher.cipher == NULL)) in mac_match() 175 ok = ok && (key1->priv_key == NULL /* implies key2->privkey == NULL */ in mac_match() 176 || CRYPTO_memcmp(key1->priv_key, key2->priv_key, in mac_match() 177 key1->priv_key_len) == 0); in mac_match() 178 if (key1->cipher.cipher != NULL) in mac_match() [all …]
|
A D | ecx_kmgmt.c | 147 const ECX_KEY *key1 = keydata1; in ecx_match() local 155 ok = ok && key1->type == key2->type; in ecx_match() 157 if ((key1->privkey == NULL && key2->privkey != NULL) in ecx_match() 158 || (key1->privkey != NULL && key2->privkey == NULL) in ecx_match() 159 || key1->type != key2->type) in ecx_match() 163 || CRYPTO_memcmp(key1->privkey, key2->privkey, in ecx_match() 164 key1->keylen) == 0); in ecx_match() 167 if (key1->haspubkey != key2->haspubkey in ecx_match() 168 || key1->type != key2->type) in ecx_match() 172 || CRYPTO_memcmp(key1->pubkey, key2->pubkey, in ecx_match() [all …]
|
/openssl-master/test/ |
A D | igetest.c | 81 const unsigned char key1[32]; member 194 AES_KEY key1; in test_bi_ige_vectors() local 202 AES_set_encrypt_key(v->key1, 8 * v->keysize, &key1); in test_bi_ige_vectors() 205 AES_set_decrypt_key(v->key1, 8 * v->keysize, &key1); in test_bi_ige_vectors() 209 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv, in test_bi_ige_vectors() 213 test_output_memory("key 1", v->key1, sizeof(v->key1)); in test_bi_ige_vectors()
|
A D | rsa_test.c | 48 static int key1(RSA *key, unsigned char *c) in key1() function 222 clen = key1(*key, ctext); in rsa_setkey()
|
/openssl-master/crypto/aes/asm/ |
A D | aesp8-ppc.pl | 2466 lvx v30,$x10,$key1 2467 addi $key1,$key1,0x20 2468 lvx v31,$x00,$key1 2475 lvx v30,$x10,$key1 2476 addi $key1,$key1,0x20 2479 lvx v31,$x00,$key1 2484 lvx v26,$x10,$key1 2486 lvx v27,$x20,$key1 2489 lvx v28,$x30,$key1 3119 addi $key1,$key1,0x20 [all …]
|
A D | aesv8-armx.pl | 2241 ldr $rounds,[$key1,#240] 2350 add $key_,$key1,#32 2459 mov $key_,$key1 2684 mov $key_,$key1 2837 vld1.32 {$dat0},[$key1] 2918 ldr $rounds,[$key1,#240] 3038 add $key_,$key1,#32 3142 mov $key_,$key1 3377 mov $key_,$key1 3501 ldr $rounds,[$key1,#240] [all …]
|
A D | aes-s390x.pl | 1655 la %r1,0($key1) # restore $key1 1682 la %r1,0($key1) # restore pointer to $key1 1844 l %r0,240($key1) 1845 la %r1,0($key1) # $key1 is not needed anymore 1928 la $key,0($key1) 1978 la $key,0($key1) 2047 l %r0,240($key1) 2048 la %r1,0($key1) # $key1 is not needed anymore 2170 la $key,0($key1) 2229 la $key,0($key1) [all …]
|
/openssl-master/crypto/modes/ |
A D | xts128.c | 55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 100 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 138 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 149 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
|
/openssl-master/providers/implementations/ciphers/ |
A D | cipher_aes_xts.c | 140 if (in->xts.key1 != NULL) { in aes_xts_dupctx() 141 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx() 163 || ctx->xts.key1 == NULL in aes_xts_cipher() 183 (*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2, ctx->base.iv); in aes_xts_cipher()
|
A D | cipher_aes_xts_hw.c | 33 xctx->xts.key1 = &xctx->ks1; \ 96 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_aes_xts_copyctx()
|
A D | cipher_aes_xts.h | 22 const AES_KEY *key1, const AES_KEY *key2,
|
/openssl-master/doc/man7/ |
A D | des_modes.pod | 189 Encrypt with key1, decrypt with key2 and encrypt with key3 again. 224 Encrypt with key1, decrypt with key2 and then encrypt with key3.
|
/openssl-master/include/openssl/ |
A D | des.h | 195 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
|
/openssl-master/crypto/evp/ |
A D | e_aes.c | 70 const AES_KEY *key1, const AES_KEY *key2, 299 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key() 654 xctx->xts.key1 = &xctx->ks1; in aes_t4_xts_init_key() 3107 if (xctx->xts.key1) { in aes_xts_ctrl() 3108 if (xctx->xts.key1 != &xctx->ks1) in aes_xts_ctrl() 3110 xctx_out->xts.key1 = &xctx_out->ks1; in aes_xts_ctrl() 3121 xctx->xts.key1 = NULL; in aes_xts_ctrl() 3187 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key() 3209 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key() 3226 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key() [all …]
|
/openssl-master/doc/man3/ |
A D | DES_random_key.pod | 94 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
|
/openssl-master/crypto/perlasm/ |
A D | sparcv9_modes.pl | 925 my ($inp,$out,$len,$key1,$key2,$ivec)=map("%i$_",(0..5));
|