/netbsd-current/tests/lib/libdes/ |
H A D | t_des.c | 467 des_cblock iv3, iv2; local 484 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 487 des_ede3_cbcm_encrypt(cbc_data, cbc_out, 16L, ks, ks2, ks3, &iv3, &iv2, 490 &iv3, &iv2, DES_ENCRYPT); 496 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 498 des_ede3_cbcm_encrypt(cbc_out, cbc_in, i, ks, ks2, ks3, &iv3, &iv2, 593 des_cblock iv3; local 601 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 603 &iv3, DES_ENCRYPT); 606 memcpy(iv3, cbc_i 623 des_cblock iv3; local 651 des_cblock iv3; local [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/ |
H A D | destest.c | 359 DES_cblock iv3; local 367 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 369 &iv3, DES_ENCRYPT); 373 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 375 &iv3, DES_DECRYPT); 381 DES_cblock iv3; local 391 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 392 DES_xcbc_encrypt(cbc_data, cbc_out, n, &ks, &iv3, &cbc2_key, &cbc3_key, 396 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 397 DES_xcbc_encrypt(cbc_out, cbc_in, n, &ks, &iv3, 404 DES_cblock iv3; local [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/test/ |
H A D | destest.c | 366 DES_cblock iv3; local 374 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 376 &iv3, DES_ENCRYPT); 380 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 382 &iv3, DES_DECRYPT); 388 DES_cblock iv3; local 398 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 399 DES_xcbc_encrypt(cbc_data, cbc_out, n, &ks, &iv3, &cbc2_key, &cbc3_key, 403 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); 404 DES_xcbc_encrypt(cbc_out, cbc_in, n, &ks, &iv3, 411 DES_cblock iv3; local [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/aes/asm/ |
H A D | aesv8-armx.pl | 2231 my ($iv0,$iv1,$iv2,$iv3,$iv4)=("v6.16b","v8.16b","v9.16b","v10.16b","v11.16b"); 2374 // the five ivs stored into, $iv0,$iv1,$iv2,$iv3,$iv4 2450 veor $dat3,$dat3,$iv3 // the fourth block 2596 veor $tmp3,$rndlast,$iv3 2628 veor $dat3,$in3,$iv3 2644 vorr $iv4,$iv3,$iv3 2645 vorr $iv3,$iv2,$iv2 2653 veor $dat3,$in3,$iv3 2908 my ($iv0,$iv1,$iv2,$iv3, [all...] |
/netbsd-current/sys/crypto/aes/ |
H A D | aes_bear.c | 223 uint32_t cv0, cv1, cv2, cv3, iv0, iv1, iv2, iv3; local 238 iv3 = le32dec(iv + 4*3); 337 le32enc(out + 4*3, q[2*3] ^ iv3);
|