Searched refs:aes_ctx (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/crypto/cipher_extra/ |
D | e_aesctrhmac.c | 73 struct aead_aes_ctr_hmac_sha256_ctx *aes_ctx = in aead_aes_ctr_hmac_sha256_init() local 97 aes_ctx->ctr = in aead_aes_ctr_hmac_sha256_init() 98 aes_ctr_set_key(&aes_ctx->ks.ks, NULL, &aes_ctx->block, key, aes_key_len); in aead_aes_ctr_hmac_sha256_init() 100 hmac_init(&aes_ctx->inner_init_state, &aes_ctx->outer_init_state, in aead_aes_ctr_hmac_sha256_init() 153 const struct aead_aes_ctr_hmac_sha256_ctx *aes_ctx, uint8_t *out, in aead_aes_ctr_hmac_sha256_crypt() argument 165 if (aes_ctx->ctr) { in aead_aes_ctr_hmac_sha256_crypt() 166 CRYPTO_ctr128_encrypt_ctr32(in, out, len, &aes_ctx->ks.ks, counter, in aead_aes_ctr_hmac_sha256_crypt() 168 aes_ctx->ctr); in aead_aes_ctr_hmac_sha256_crypt() 170 CRYPTO_ctr128_encrypt(in, out, len, &aes_ctx->ks.ks, counter, in aead_aes_ctr_hmac_sha256_crypt() 172 aes_ctx->block); in aead_aes_ctr_hmac_sha256_crypt() [all …]
|
/external/openssh/ |
D | cipher-ctr.c | 39 AES_KEY aes_ctx; member 73 AES_encrypt(c->aes_counter, buf, &c->aes_ctx); in ssh_aes_ctr() 94 &c->aes_ctx); in ssh_aes_ctr_init()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_nettle.c | 247 struct aes_ctx *ctx; in aes_encrypt_init() 263 struct aes_ctx *actx = ctx; in aes_encrypt() 271 struct aes_ctx *actx = ctx; in aes_encrypt_deinit() 278 struct aes_ctx *ctx; in aes_decrypt_init() 294 struct aes_ctx *actx = ctx; in aes_decrypt() 302 struct aes_ctx *actx = ctx; in aes_decrypt_deinit()
|