Home
last modified time | relevance | path

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

/external/libsrtp2/crypto/cipher/
Daes.c1405 srtp_aes_expanded_key_t *expanded_key) in aes_128_expand_encryption_key() argument
1413 expanded_key->num_rounds = 10; in aes_128_expand_encryption_key()
1415 v128_copy_octet_string(&expanded_key->round[0], key); in aes_128_expand_encryption_key()
1419 "expanded key[0]: %s", v128_hex_string(&expanded_key->round[0])); in aes_128_expand_encryption_key()
1425 expanded_key->round[i].v8[0] = in aes_128_expand_encryption_key()
1426 aes_sbox[expanded_key->round[i - 1].v8[13]] ^ rc; in aes_128_expand_encryption_key()
1427 expanded_key->round[i].v8[1] = in aes_128_expand_encryption_key()
1428 aes_sbox[expanded_key->round[i - 1].v8[14]]; in aes_128_expand_encryption_key()
1429 expanded_key->round[i].v8[2] = in aes_128_expand_encryption_key()
1430 aes_sbox[expanded_key->round[i - 1].v8[15]]; in aes_128_expand_encryption_key()
[all …]
Daes_icm.c216 srtp_aes_expand_encryption_key(key, base_key_len, &c->expanded_key); in srtp_aes_icm_context_init()
267 srtp_aes_encrypt(&c->keystream_buffer, &c->expanded_key); in srtp_aes_icm_advance()
/external/libsrtp2/crypto/include/
Daes.h66 srtp_aes_expanded_key_t *expanded_key);
71 srtp_aes_expanded_key_t *expanded_key);
Daes_icm.h57 srtp_aes_expanded_key_t expanded_key; /* the cipher key */ member
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c184 const struct aead_aes_gcm_siv_asm_ctx *expanded_key);
190 const struct aead_aes_gcm_siv_asm_ctx *expanded_key);
448 struct aead_aes_gcm_siv_asm_ctx expanded_key; in aead_aes_gcm_siv_asm_open() local
450 aes128gcmsiv_aes_ks((const uint8_t *) record_enc_key, &expanded_key.key[0]); in aead_aes_gcm_siv_asm_open()
452 aes256gcmsiv_aes_ks((const uint8_t *) record_enc_key, &expanded_key.key[0]); in aead_aes_gcm_siv_asm_open()
475 aes128gcmsiv_dec(in, out, calculated_tag, htable, &expanded_key, in aead_aes_gcm_siv_asm_open()
478 aes256gcmsiv_dec(in, out, calculated_tag, htable, &expanded_key, in aead_aes_gcm_siv_asm_open()
485 &expanded_key); in aead_aes_gcm_siv_asm_open()
512 aes128gcmsiv_ecb_enc_block(calculated_tag, calculated_tag, &expanded_key); in aead_aes_gcm_siv_asm_open()
514 aes256gcmsiv_ecb_enc_block(calculated_tag, calculated_tag, &expanded_key); in aead_aes_gcm_siv_asm_open()
/external/boringssl/src/crypto/cipher_extra/
De_aesgcmsiv.c184 const struct aead_aes_gcm_siv_asm_ctx *expanded_key);
190 const struct aead_aes_gcm_siv_asm_ctx *expanded_key);
448 struct aead_aes_gcm_siv_asm_ctx expanded_key; in aead_aes_gcm_siv_asm_open() local
450 aes128gcmsiv_aes_ks((const uint8_t *) record_enc_key, &expanded_key.key[0]); in aead_aes_gcm_siv_asm_open()
452 aes256gcmsiv_aes_ks((const uint8_t *) record_enc_key, &expanded_key.key[0]); in aead_aes_gcm_siv_asm_open()
475 aes128gcmsiv_dec(in, out, calculated_tag, htable, &expanded_key, in aead_aes_gcm_siv_asm_open()
478 aes256gcmsiv_dec(in, out, calculated_tag, htable, &expanded_key, in aead_aes_gcm_siv_asm_open()
485 &expanded_key); in aead_aes_gcm_siv_asm_open()
512 aes128gcmsiv_ecb_enc_block(calculated_tag, calculated_tag, &expanded_key); in aead_aes_gcm_siv_asm_open()
514 aes256gcmsiv_ecb_enc_block(calculated_tag, calculated_tag, &expanded_key); in aead_aes_gcm_siv_asm_open()
/external/libsrtp2/srtp/
Dekt.c156 srtp_aes_expanded_key_t expanded_key; in aes_decrypt_with_raw_key() local
158 srtp_aes_expand_decryption_key(key, key_len, &expanded_key); in aes_decrypt_with_raw_key()
159 srtp_aes_decrypt(ciphertext, &expanded_key); in aes_decrypt_with_raw_key()