/freebsd-current/contrib/bearssl/src/symcipher/ |
H A D | aes_ct_ctrcbc.c | 56 uint32_t iv0, iv1, iv2, iv3; local 70 iv3 = br_dec32be(ivbuf + 12); 84 q[6] = br_swap32(iv3); 85 iv3 ++; 86 carry = ~(iv3 | -iv3) >> 31; 95 q[7] = br_swap32(iv3); 97 iv3 ++; 98 carry = ~(iv3 | -iv3) >> 3 192 uint32_t iv0, iv1, iv2, iv3; local 322 uint32_t iv0, iv1, iv2, iv3; local [all...] |
H A D | aes_ct_cbcenc.c | 43 uint32_t iv0, iv1, iv2, iv3; local 55 iv3 = br_dec32le(ivbuf + 12); 61 q[6] = iv3 ^ br_dec32le(buf + 12); 68 iv3 = q[6]; 72 br_enc32le(buf + 12, iv3); 79 br_enc32le(ivbuf + 12, iv3);
|
H A D | aes_ct_cbcdec.c | 42 uint32_t iv0, iv1, iv2, iv3; local 50 iv3 = br_dec32le(ivbuf + 12); 77 br_enc32le(buf + 12, q[6] ^ iv3); 82 iv3 = sq[6]; 92 iv3 = sq[7]; 99 br_enc32le(ivbuf + 12, iv3);
|
H A D | aes_ct64_ctrcbc.c | 56 uint32_t iv0, iv1, iv2, iv3; local 70 iv3 = br_dec32be(ivbuf + 12); 90 w[i + 3] = br_swap32(iv3); 91 iv3 ++; 92 carry = ~(iv3 | -iv3) >> 31; 125 br_enc32be(ivbuf + 12, iv3); 188 uint32_t iv0, iv1, iv2, iv3; local 205 iv3 = br_dec32be(ivbuf + 12); 228 w[3] = br_swap32(iv3); 327 uint32_t iv0, iv1, iv2, iv3; local [all...] |
/freebsd-current/contrib/netbsd-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...] |
/freebsd-current/crypto/openssl/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...] |
/freebsd-current/tools/regression/net80211/wep/ |
H A D | test_wep.c | 129 #define TEST(n,name,cipher,keyix,iv0,iv1,iv2,iv3) { \ 130 name, IEEE80211_CIPHER_##cipher,keyix, { iv2,iv1,iv0,iv3 }, \
|
/freebsd-current/crypto/openssl/crypto/aes/asm/ |
H A D | aesv8-armx.pl | 2243 my ($iv0,$iv1,$iv2,$iv3,$iv4)=("v6.16b","v8.16b","v9.16b","v10.16b","v11.16b"); 2387 // the five ivs stored into, $iv0,$iv1,$iv2,$iv3,$iv4 2463 veor $dat3,$dat3,$iv3 // the fourth block 2609 veor $tmp3,$rndlast,$iv3 2641 veor $dat3,$in3,$iv3 2657 vorr $iv4,$iv3,$iv3 2658 vorr $iv3,$iv2,$iv2 2666 veor $dat3,$in3,$iv3 2921 my ($iv0,$iv1,$iv2,$iv3, [all...] |