/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
ede_cbcm_enc.c | 85 unsigned char *iv1,*iv2; local 88 iv2 = &(*ivec2)[0]; 94 c2l(iv2,tout0); 95 c2l(iv2,tout1); 135 iv2=&(*ivec2)[0]; 136 l2c(tout0,iv2); 137 l2c(tout1,iv2); 145 c2l(iv2,xor0); 146 c2l(iv2,xor1); 192 iv2=&(*ivec2)[0] [all...] |
destest.c | 338 des_cblock in,out,outin,iv3,iv2; local 377 memset(iv2,'\0',sizeof iv2); 379 DES_ede3_cbcm_encrypt(cbc_data,cbc_out,16L,&ks,&ks2,&ks3,&iv3,&iv2, 382 &iv3,&iv2,DES_ENCRYPT); 391 memset(iv2,'\0',sizeof iv2); 392 DES_ede3_cbcm_encrypt(cbc_out,cbc_in,i,&ks,&ks2,&ks3,&iv3,&iv2,DES_DECRYPT);
|
des.c | 368 DES_cblock iv,iv2; local 464 memset(iv2,0,sizeof(iv2)); 528 &iv2,do_encrypt); 603 &iv2,do_encrypt); 674 OPENSSL_cleanse(iv2,sizeof(iv2));
|
/external/dropbear/libtomcrypt/testprof/ |
modes_test.c | 6 unsigned char pt[64], ct[64], tmp[64], key[16], iv[16], iv2[16]; local 43 l = sizeof(iv2); 44 DO(cbc_getiv(iv2, &l, &cbc)); 45 if (l != 16 || memcmp(iv2, iv, 16)) { 52 DO(cbc_setiv(iv2, l, &cbc)); 65 l = sizeof(iv2); 66 DO(cfb_getiv(iv2, &l, &cfb)); 67 /* note we don't memcmp iv2/iv since cfb_start processes the IV for the first block */ 88 l = sizeof(iv2); 89 DO(ofb_getiv(iv2, &l, &ofb)) [all...] |
/external/openssl/crypto/des/ |
ede_cbcm_enc.c | 85 unsigned char *iv1,*iv2; local 88 iv2 = &(*ivec2)[0]; 94 c2l(iv2,tout0); 95 c2l(iv2,tout1); 135 iv2=&(*ivec2)[0]; 136 l2c(tout0,iv2); 137 l2c(tout1,iv2); 145 c2l(iv2,xor0); 146 c2l(iv2,xor1); 192 iv2=&(*ivec2)[0] [all...] |
destest.c | 338 des_cblock in,out,outin,iv3,iv2; local 377 memset(iv2,'\0',sizeof iv2); 379 DES_ede3_cbcm_encrypt(cbc_data,cbc_out,16L,&ks,&ks2,&ks3,&iv3,&iv2, 382 &iv3,&iv2,DES_ENCRYPT); 391 memset(iv2,'\0',sizeof iv2); 392 DES_ede3_cbcm_encrypt(cbc_out,cbc_in,i,&ks,&ks2,&ks3,&iv3,&iv2,DES_DECRYPT);
|
des.c | 368 DES_cblock iv,iv2; local 464 memset(iv2,0,sizeof(iv2)); 528 &iv2,do_encrypt); 603 &iv2,do_encrypt); 674 OPENSSL_cleanse(iv2,sizeof(iv2));
|
/external/chromium_org/third_party/openssl/openssl/crypto/aes/ |
aes_ige.c | 123 aes_block_t iv2; local 126 load_block(iv2, ivec + AES_BLOCK_SIZE); 135 tmp2.data[n] ^= iv2.data[n]; 138 iv2 = tmp; 144 memcpy(ivec + AES_BLOCK_SIZE, iv2.data, AES_BLOCK_SIZE); 179 aes_block_t iv2; local 182 load_block(iv2, ivec + AES_BLOCK_SIZE); 189 tmp.data[n] ^= iv2.data[n]; 195 iv2 = tmp; 201 memcpy(ivec + AES_BLOCK_SIZE, iv2.data, AES_BLOCK_SIZE) 225 const unsigned char *iv2; local [all...] |
/external/openssl/crypto/aes/ |
aes_ige.c | 123 aes_block_t iv2; local 126 load_block(iv2, ivec + AES_BLOCK_SIZE); 135 tmp2.data[n] ^= iv2.data[n]; 138 iv2 = tmp; 144 memcpy(ivec + AES_BLOCK_SIZE, iv2.data, AES_BLOCK_SIZE); 179 aes_block_t iv2; local 182 load_block(iv2, ivec + AES_BLOCK_SIZE); 189 tmp.data[n] ^= iv2.data[n]; 195 iv2 = tmp; 201 memcpy(ivec + AES_BLOCK_SIZE, iv2.data, AES_BLOCK_SIZE) 225 const unsigned char *iv2; local [all...] |
/external/openssl/ssl/ |
t1_enc.c | 327 unsigned char iv2[EVP_MAX_IV_LENGTH*2]; local 525 empty,0,iv1,iv2,k*2)) 570 OPENSSL_cleanse(iv2,sizeof(iv2)); [all...] |