Home
last modified time | relevance | path

Searched refs:DES_cblock (Results 1 – 25 of 37) sorted by relevance

12

/third_party/openssl/ohos_lite/include/openssl/
Ddes.h28 typedef unsigned char DES_cblock[8]; typedef
37 DES_cblock cblock;
45 # define DES_KEY_SZ (sizeof(DES_cblock))
70 void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
73 DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output,
79 DES_cblock *ivec, int enc);
82 DES_cblock *ivec, int enc);
85 DES_cblock *ivec, const_DES_cblock *inw,
89 DES_cblock *ivec, int enc);
90 void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
[all …]
Dmdc2.h28 DES_cblock h, hh;
/third_party/openssl/include/openssl/
Ddes.h35 typedef unsigned char DES_cblock[8]; typedef
44 DES_cblock cblock;
52 # define DES_KEY_SZ (sizeof(DES_cblock))
78 void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
82 DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output,
90 long length, DES_key_schedule *schedule, DES_cblock *ivec,
94 long length, DES_key_schedule *schedule, DES_cblock *ivec,
98 long length, DES_key_schedule *schedule, DES_cblock *ivec,
102 long length, DES_key_schedule *schedule, DES_cblock *ivec,
105 void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
[all …]
Dmdc2.h37 DES_cblock h, hh;
/third_party/openssl/crypto/evp/
De_des.c64 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), in des_ecb_cipher()
77 (DES_cblock *)ctx->iv, &num); in des_ofb_cipher()
87 (DES_cblock *)ctx->iv, &num); in des_ofb_cipher()
105 (DES_cblock *)ctx->iv, in des_cbc_cipher()
114 (DES_cblock *)ctx->iv, in des_cbc_cipher()
126 (DES_cblock *)ctx->iv, &num, in des_cfb64_cipher()
137 (DES_cblock *)ctx->iv, &num, in des_cfb64_cipher()
161 (DES_cblock *)ctx->iv, in des_cfb1_cipher()
183 (DES_cblock *)ctx->iv, in des_cfb8_cipher()
192 (DES_cblock *)ctx->iv, in des_cfb8_cipher()
[all …]
De_xcbc_d.c34 DES_cblock inw;
35 DES_cblock outw;
63 DES_cblock *deskey = (DES_cblock *)key; in desx_cbc_init_key()
77 (DES_cblock *)ctx->iv, in desx_cbc_cipher()
86 (DES_cblock *)ctx->iv, in desx_cbc_cipher()
De_des3.c74 (DES_cblock *)(out + i), in des_ede_ecb_cipher()
88 (DES_cblock *)ctx->iv, in des_ede_ofb_cipher()
100 (DES_cblock *)ctx->iv, in des_ede_ofb_cipher()
121 (DES_cblock *)ctx->iv, in des_ede_cbc_cipher()
130 (DES_cblock *)ctx->iv, in des_ede_cbc_cipher()
142 &data(ctx)->ks3, (DES_cblock *)ctx->iv, in des_ede_cfb64_cipher()
153 &data(ctx)->ks3, (DES_cblock *)ctx->iv, in des_ede_cfb64_cipher()
176 &data(ctx)->ks3, (DES_cblock *)ctx->iv, in des_ede3_cfb1_cipher()
191 &data(ctx)->ks3, (DES_cblock *)ctx->iv, in des_ede3_cfb8_cipher()
200 &data(ctx)->ks3, (DES_cblock *)ctx->iv, in des_ede3_cfb8_cipher()
[all …]
/third_party/openssl/providers/implementations/ciphers/
Dcipher_tdes_default_hw.c27 DES_cblock *deskey = (DES_cblock *)key; in ossl_cipher_hw_tdes_ede2_initkey()
56 &tctx->ks3, (DES_cblock *)ctx->iv, &num); in ossl_cipher_hw_tdes_ofb()
63 &tctx->ks3, (DES_cblock *)ctx->iv, &num); in ossl_cipher_hw_tdes_ofb()
79 (DES_cblock *)ctx->iv, &num, ctx->enc); in ossl_cipher_hw_tdes_cfb()
87 (DES_cblock *)ctx->iv, &num, ctx->enc); in ossl_cipher_hw_tdes_cfb()
110 (DES_cblock *)ctx->iv, ctx->enc); in ossl_cipher_hw_tdes_cfb1()
126 (DES_cblock *)ctx->iv, ctx->enc); in ossl_cipher_hw_tdes_cfb8()
134 (DES_cblock *)ctx->iv, ctx->enc); in ossl_cipher_hw_tdes_cfb8()
Dcipher_des_hw.c23 DES_cblock *deskey = (DES_cblock *)key; in cipher_hw_des_initkey()
77 DES_ncbc_encrypt(in, out, MAXCHUNK, key, (DES_cblock *)ctx->iv, in cipher_hw_des_cbc_cipher()
84 DES_ncbc_encrypt(in, out, (long)len, key, (DES_cblock *)ctx->iv, in cipher_hw_des_cbc_cipher()
96 DES_ofb64_encrypt(in, out, MAXCHUNK, key, (DES_cblock *)ctx->iv, &num); in cipher_hw_des_ofb64_cipher()
102 DES_ofb64_encrypt(in, out, (long)len, key, (DES_cblock *)ctx->iv, &num); in cipher_hw_des_ofb64_cipher()
118 DES_cfb64_encrypt(in, out, (long)chunk, key, (DES_cblock *)ctx->iv, in cipher_hw_des_cfb64_cipher()
147 DES_cfb_encrypt(c, d, 1, 1, key, (DES_cblock *)ctx->iv, ctx->enc); in cipher_hw_des_cfb1_cipher()
169 (DES_cblock *)ctx->iv, ctx->enc); in cipher_hw_des_cfb8_cipher()
176 (DES_cblock *)ctx->iv, ctx->enc); in cipher_hw_des_cfb8_cipher()
Dcipher_tdes_hw.c27 DES_cblock *deskey = (DES_cblock *)key; in ossl_cipher_hw_tdes_ede3_initkey()
70 &tctx->ks3, (DES_cblock *)ctx->iv, ctx->enc); in ossl_cipher_hw_tdes_cbc()
77 &tctx->ks3, (DES_cblock *)ctx->iv, ctx->enc); in ossl_cipher_hw_tdes_cbc()
91 DES_ecb3_encrypt((const_DES_cblock *)(in + i), (DES_cblock *)(out + i), in ossl_cipher_hw_tdes_ecb()
Dcipher_desx_hw.c31 DES_cblock *deskey = (DES_cblock *)key; in cipher_hw_desx_cbc_initkey()
57 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, in cipher_hw_desx_cbc()
65 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, in cipher_hw_desx_cbc()
/third_party/openssl/doc/man3/
DDES_random_key.pod23 void DES_random_key(DES_cblock *ret);
30 void DES_set_odd_parity(DES_cblock *key);
33 void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
35 void DES_ecb2_encrypt(const_DES_cblock *input, DES_cblock *output,
37 void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
42 long length, DES_key_schedule *schedule, DES_cblock *ivec,
46 DES_cblock *ivec, int enc);
49 DES_cblock *ivec);
51 long length, DES_key_schedule *schedule, DES_cblock *ivec,
54 long length, DES_key_schedule *schedule, DES_cblock *ivec,
[all …]
/third_party/openssl/test/
Ddestest.c311 DES_cblock in, out, outin; in test_des_ecb()
336 DES_cblock in, out, outin; in test_des_ede_ecb()
366 DES_cblock iv3; in test_des_cbc()
388 DES_cblock iv3; in test_des_ede_cbc()
411 DES_cblock iv3; in test_ede_cbc()
444 DES_cblock iv; in test_input_align()
459 DES_cblock iv; in test_output_align()
686 cs = DES_quad_cksum(cbc_data, (DES_cblock *)lqret, in test_des_quad_cksum()
688 (DES_cblock *)cbc_iv); in test_des_quad_cksum()
784 const DES_cblock key;
[all …]
/third_party/openssl/crypto/des/
Dstr2key.c19 void DES_string_to_key(const char *str, DES_cblock *key) in DES_string_to_key()
46 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys()
Drand_key.c19 int DES_random_key(DES_cblock *ret) in DES_random_key()
22 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
Dset_key.c59 void DES_set_odd_parity(DES_cblock *key) in DES_set_odd_parity()
94 static const DES_cblock weak_keys[] = {
125 j = CRYPTO_memcmp(weak_keys[i], key, sizeof(DES_cblock)); in DES_is_weak_key()
Dofb64enc.c25 DES_key_schedule *schedule, DES_cblock *ivec, int *num) in DES_ofb64_encrypt()
30 DES_cblock d; in DES_ofb64_encrypt()
Dofb64ede.c26 DES_key_schedule *k3, DES_cblock *ivec, int *num) in DES_ede3_ofb64_encrypt()
31 DES_cblock d; in DES_ede3_ofb64_encrypt()
Dqud_cksm.c34 DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[], in DES_quad_cksum()
35 long length, int out_count, DES_cblock *seed) in DES_quad_cksum()
Dncbc_enc.c20 DES_key_schedule *_schedule, DES_cblock *ivec, int enc) in DES_cbc_encrypt()
24 DES_cblock *ivec, int enc) in DES_cbc_encrypt()
Dcfb64ede.c27 DES_cblock *ivec, int *num, int enc) in DES_ede3_cfb64_encrypt()
94 DES_cblock *ivec, int enc) in DES_ede3_cfb_encrypt()
Decb3_enc.c18 void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, in DES_ecb3_encrypt()
Decb_enc.c36 void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, in DES_ecb_encrypt()
Dcbc_cksm.c18 DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output, in DES_cbc_cksum()
Dcfb64enc.c26 DES_cblock *ivec, int *num, int enc) in DES_cfb64_encrypt()

12