Lines Matching refs:aes
329 static void aes_encrypt_1(struct tls_aes *aes, unsigned astate[16]) in aes_encrypt_1() argument
331 unsigned rounds = aes->rounds; in aes_encrypt_1()
332 const uint32_t *RoundKey = aes->key; in aes_encrypt_1()
346 void FAST_FUNC aes_setkey(struct tls_aes *aes, const void *key, unsigned key_len) in aes_setkey() argument
348 aes->rounds = KeyExpansion(aes->key, key, key_len); in aes_setkey()
351 void FAST_FUNC aes_encrypt_one_block(struct tls_aes *aes, const void *data, void *dst) in aes_encrypt_one_block() argument
361 aes_encrypt_1(aes, astate); in aes_encrypt_one_block()
366 void FAST_FUNC aes_cbc_encrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *d… in aes_cbc_encrypt() argument
384 aes_encrypt_1(aes, astate); in aes_cbc_encrypt()
394 static void aes_decrypt_1(struct tls_aes *aes, unsigned astate[16]) in aes_decrypt_1() argument
396 unsigned rounds = aes->rounds; in aes_decrypt_1()
397 const uint32_t *RoundKey = aes->key; in aes_decrypt_1()
413 static void aes_decrypt_one_block(struct tls_aes *aes, const void *data, void *dst)
415 unsigned rounds = aes->rounds;
416 const uint32_t *RoundKey = aes->key;
425 aes_decrypt_1(aes, astate);
431 void FAST_FUNC aes_cbc_decrypt(struct tls_aes *aes, void *iv, const void *data, size_t len, void *d… in aes_cbc_decrypt() argument
452 aes_decrypt_1(aes, astate); in aes_cbc_decrypt()