Home
last modified time | relevance | path

Searched refs:ks2 (Results 1 – 10 of 10) sorted by relevance

/third_party/openssl/crypto/evp/
De_des3.c31 # define ks2 ks.ks[1] macro
71 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher()
82 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ofb_cipher()
94 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ofb_cipher()
116 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher()
125 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher()
137 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_cfb64_cipher()
149 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_cfb64_cipher()
173 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede3_cfb1_cipher()
189 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede3_cfb8_cipher()
[all …]
De_aes.c54 } ks1, ks2; /* AES key schedules to use */ member
420 &xctx->ks2.ks); in aesni_xts_init_key()
427 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()
858 &xctx->ks2.ks); in aes_t4_xts_init_key()
865 xctx->xts.key2 = &xctx->ks2; in aes_t4_xts_init_key()
3335 if (xctx->xts.key2 != &xctx->ks2) in aes_xts_ctrl()
3337 xctx_out->xts.key2 = &xctx_out->ks2; in aes_xts_ctrl()
3410 &xctx->ks2.ks); in aes_xts_init_key()
3438 &xctx->ks2.ks); in aes_xts_init_key()
3459 &xctx->ks2.ks); in aes_xts_init_key()
[all …]
/third_party/openssl/include/openssl/
Ddes.h71 DES_key_schedule *ks1, DES_key_schedule *ks2,
116 DES_key_schedule *ks2, DES_key_schedule *ks3);
118 DES_key_schedule *ks2, DES_key_schedule *ks3);
121 DES_key_schedule *ks1, DES_key_schedule *ks2,
125 DES_key_schedule *ks2, DES_key_schedule *ks3,
129 DES_key_schedule *ks2, DES_key_schedule *ks3,
133 DES_key_schedule *ks2, DES_key_schedule *ks3,
/third_party/openssl/crypto/des/
Ddes_enc.c150 DES_key_schedule *ks2, DES_key_schedule *ks3) in DES_encrypt3() argument
160 DES_encrypt2((DES_LONG *)data, ks2, DES_DECRYPT); in DES_encrypt3()
170 DES_key_schedule *ks2, DES_key_schedule *ks3) in DES_decrypt3() argument
180 DES_encrypt2((DES_LONG *)data, ks2, DES_ENCRYPT); in DES_decrypt3()
196 DES_key_schedule *ks2, DES_key_schedule *ks3, in DES_ede3_cbc_encrypt() argument
222 DES_encrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt()
236 DES_encrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt()
260 DES_decrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt()
280 DES_decrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt()
Dcfb64ede.c20 DES_key_schedule *ks2, DES_key_schedule *ks3, in DES_ede3_cfb64_encrypt() argument
38 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt()
60 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt()
87 DES_key_schedule *ks2, DES_key_schedule *ks3, in DES_ede3_cfb_encrypt() argument
107 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt()
148 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt()
Decb3_enc.c13 DES_key_schedule *ks1, DES_key_schedule *ks2, in DES_ecb3_encrypt() argument
26 DES_encrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt()
28 DES_decrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt()
/third_party/openssl/test/
Ddestest.c330 DES_key_schedule ks, ks2, ks3; in test_des_ede_ecb() local
334 DES_set_key_unchecked(&key_data[i + 1], &ks2); in test_des_ede_ecb()
339 DES_ecb3_encrypt(&in, &out, &ks, &ks2, &ks, DES_ENCRYPT); in test_des_ede_ecb()
340 DES_ecb3_encrypt(&out, &outin, &ks, &ks2, &ks, DES_DECRYPT); in test_des_ede_ecb()
405 DES_key_schedule ks, ks2, ks3; in test_ede_cbc() local
413 if (!TEST_int_eq(DES_set_key_checked(&cbc2_key, &ks2), 0)) in test_ede_cbc()
421 DES_ede3_cbc_encrypt(cbc_data, cbc_out, 16L, &ks, &ks2, &ks3, &iv3, in test_ede_cbc()
423 DES_ede3_cbc_encrypt(&cbc_data[16], &cbc_out[16], i - 16, &ks, &ks2, in test_ede_cbc()
429 DES_ede3_cbc_encrypt(cbc_out, cbc_in, i, &ks, &ks2, &ks3, &iv3, in test_ede_cbc()
/third_party/openssl/doc/man3/
DDES_random_key.pod32 DES_key_schedule *ks1, DES_key_schedule *ks2, int enc);
34 DES_key_schedule *ks1, DES_key_schedule *ks2,
62 DES_key_schedule *ks2, DES_cblock *ivec, int enc);
65 DES_key_schedule *ks2, DES_cblock *ivec,
69 DES_key_schedule *ks2, DES_cblock *ivec, int *num);
73 DES_key_schedule *ks2, DES_key_schedule *ks3,
77 DES_key_schedule *ks2, DES_key_schedule *ks3,
81 DES_key_schedule *ks2, DES_key_schedule *ks3,
149 the input with I<ks1>, decrypting with the key schedule I<ks2>, and
152 I<ks2> and I<ks3> are the same, it is equivalent to just encryption
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dwarp_affine.cc91 int ks2 = 1; in InitWBlock() local
92 int tk1 = ks2; in InitWBlock()
93 int tk2 = ks2; in InitWBlock()
94 int mtk1 = ks2; in InitWBlock()
95 int mtk2 = ks2; in InitWBlock()
96 for (h1 = ks2; h1 < ks2 + 2; h1++) { in InitWBlock()
97 for (h2 = ks2; h2 < ks2 + 2; h2++) { in InitWBlock()
/third_party/openssl/crypto/des/asm/
Ddes_enc.m4127 ! parameter 9 1 for load ks3 and ks2 to in4 and in3
620 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4
1284 ! void DES_encrypt3(data, ks1, ks2, ks3)
1302 add in2, 120, in4 ! ks2
1310 ! parameter 9 1 for load ks3 and ks2 to in4 and in3
1329 ! void DES_decrypt3(data, ks1, ks2, ks3)
1350 mov in2, in3 ! ks2
1355 ! parameter 9 1 for load ks3 and ks2 to in4 and in3
1442 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4
1566 ! void DES_ede3_cbc_encrypt(input, output, length, ks1, ks2, ks3, ivec, enc)
[all …]