Home
last modified time | relevance | path

Searched refs:aeskey (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/aes/
Daes.c534 int AES_set_encrypt_key(const uint8_t *key, unsigned bits, AES_KEY *aeskey) { in AES_set_encrypt_key() argument
539 if (!key || !aeskey) { in AES_set_encrypt_key()
545 aeskey->rounds = 10; in AES_set_encrypt_key()
548 aeskey->rounds = 12; in AES_set_encrypt_key()
551 aeskey->rounds = 14; in AES_set_encrypt_key()
557 rk = aeskey->rd_key; in AES_set_encrypt_key()
629 int AES_set_decrypt_key(const uint8_t *key, unsigned bits, AES_KEY *aeskey) { in AES_set_decrypt_key() argument
635 status = AES_set_encrypt_key(key, bits, aeskey); in AES_set_decrypt_key()
640 rk = aeskey->rd_key; in AES_set_decrypt_key()
643 for (i = 0, j = 4 * aeskey->rounds; i < j; i += 4, j -= 4) { in AES_set_decrypt_key()
[all …]
/external/boringssl/src/include/openssl/
Daes.h84 AES_KEY *aeskey);
92 AES_KEY *aeskey);