Home
last modified time | relevance | path

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

/external/srtp/crypto/cipher/
Daes.c1363 aes_expanded_key_t expanded_key) { in aes_expand_encryption_key() argument
1370 expanded_key[0].v32[0] = key->v32[0]; in aes_expand_encryption_key()
1371 expanded_key[0].v32[1] = key->v32[1]; in aes_expand_encryption_key()
1372 expanded_key[0].v32[2] = key->v32[2]; in aes_expand_encryption_key()
1373 expanded_key[0].v32[3] = key->v32[3]; in aes_expand_encryption_key()
1377 "expanded key[0]: %s", v128_hex_string(&expanded_key[0])); in aes_expand_encryption_key()
1384 expanded_key[i].v8[0] = aes_sbox[expanded_key[i-1].v8[13]] ^ rc; in aes_expand_encryption_key()
1385 expanded_key[i].v8[1] = aes_sbox[expanded_key[i-1].v8[14]]; in aes_expand_encryption_key()
1386 expanded_key[i].v8[2] = aes_sbox[expanded_key[i-1].v8[15]]; in aes_expand_encryption_key()
1387 expanded_key[i].v8[3] = aes_sbox[expanded_key[i-1].v8[12]]; in aes_expand_encryption_key()
[all …]
Daes_cbc.c120 aes_expand_encryption_key(&tmp_key, c->expanded_key); in aes_cbc_context_init()
123 aes_expand_decryption_key(&tmp_key, c->expanded_key); in aes_cbc_context_init()
184 aes_encrypt(&c->state, c->expanded_key); in aes_cbc_encrypt()
239 aes_decrypt(&state, c->expanded_key); in aes_cbc_decrypt()
Daes_icm.c190 aes_expand_encryption_key(&tmp_key, c->expanded_key); in aes_icm_context_init()
236 aes_encrypt(&c->keystream_buffer, c->expanded_key); in aes_icm_set_octet()
292 aes_encrypt(&c->keystream_buffer, c->expanded_key); in aes_icm_advance_ismacryp()
/external/srtp/crypto/include/
Daes.h60 aes_expanded_key_t expanded_key);
64 aes_expanded_key_t expanded_key);
Daes_cbc.h20 aes_expanded_key_t expanded_key; /* the cipher key */ member
Daes_icm.h21 aes_expanded_key_t expanded_key; /* the cipher key */ member
/external/srtp/srtp/
Dekt.c151 aes_expanded_key_t expanded_key; in aes_decrypt_with_raw_key() local
153 aes_expand_decryption_key(key, expanded_key); in aes_decrypt_with_raw_key()
154 aes_decrypt(ciphertext, expanded_key); in aes_decrypt_with_raw_key()
/external/srtp/tables/
Daes_tables.c322 aes_expanded_key_t expanded_key, decrypt_key; in aes_test_inverse() local
336 aes_expand_encryption_key(k, expanded_key); in aes_test_inverse()
338 aes_encrypt(&x, expanded_key); in aes_test_inverse()