Home
last modified time | relevance | path

Searched refs:AES_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance

/external/openssl/crypto/aes/
Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 #define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 #define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length%AES_BLOCK_SIZE) == 0); in AES_ige_encrypt()
90 len = length / AES_BLOCK_SIZE; in AES_ige_encrypt()
98 aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE); in AES_ige_encrypt()
113 in += AES_BLOCK_SIZE; in AES_ige_encrypt()
114 out += AES_BLOCK_SIZE; in AES_ige_encrypt()
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); in AES_ige_encrypt()
117 memcpy(ivec + AES_BLOCK_SIZE, iv2p->data, AES_BLOCK_SIZE); in AES_ige_encrypt()
[all …]
Daes.h69 #define AES_BLOCK_SIZE 16 macro
117 unsigned char ivec[AES_BLOCK_SIZE],
118 unsigned char ecount_buf[AES_BLOCK_SIZE],
Daes_ctr.c57 unsigned char ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt() argument
58 unsigned char ecount_buf[AES_BLOCK_SIZE], in AES_ctr128_encrypt() argument
/external/qemu/
Daes.c1272 unsigned char tmp[AES_BLOCK_SIZE]; in AES_cbc_encrypt()
1277 while (len >= AES_BLOCK_SIZE) { in AES_cbc_encrypt()
1278 for(n=0; n < AES_BLOCK_SIZE; ++n) in AES_cbc_encrypt()
1281 memcpy(ivec, out, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1282 len -= AES_BLOCK_SIZE; in AES_cbc_encrypt()
1283 in += AES_BLOCK_SIZE; in AES_cbc_encrypt()
1284 out += AES_BLOCK_SIZE; in AES_cbc_encrypt()
1289 for(n=len; n < AES_BLOCK_SIZE; ++n) in AES_cbc_encrypt()
1292 memcpy(out, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1293 memcpy(ivec, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()
[all …]
Daes.h5 #define AES_BLOCK_SIZE 16 macro
/external/openssl/include/openssl/
Daes.h69 #define AES_BLOCK_SIZE 16 macro
117 unsigned char ivec[AES_BLOCK_SIZE],
118 unsigned char ecount_buf[AES_BLOCK_SIZE],
/external/chromium/net/third_party/nss/ssl/
Dssl3ext.c576 unsigned char iv[AES_BLOCK_SIZE]; in ssl3_SendNewSessionTicket()
653 padding_length = AES_BLOCK_SIZE - in ssl3_SendNewSessionTicket()
654 (ciphertext_length % AES_BLOCK_SIZE); in ssl3_SendNewSessionTicket()
661 + AES_BLOCK_SIZE /* iv */ in ssl3_SendNewSessionTicket()
747 NSS_AES_CBC, 1, AES_BLOCK_SIZE); in ssl3_SendNewSessionTicket()
1012 NSS_AES_CBC, 0,AES_BLOCK_SIZE); in ssl3_ServerHandleSessionTicketXtn()
1028 ivItem.len = AES_BLOCK_SIZE; in ssl3_ServerHandleSessionTicketXtn()
1050 if (padding_length == 0 || padding_length > AES_BLOCK_SIZE) in ssl3_ServerHandleSessionTicketXtn()
1273 AES_BLOCK_SIZE) != SECSuccess) in ssl3_ParseEncryptedSessionTicket()
Dssl3con.c1507 optArg2 = AES_BLOCK_SIZE; in ssl3_InitPendingContextsBypass()