Home
last modified time | relevance | path

Searched refs:aes_encrypt (Results 1 – 25 of 36) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes-ccm.c44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start()
54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start()
59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
73 aes_encrypt(aes, x, x); in aes_ccm_auth()
79 aes_encrypt(aes, x, x); in aes_ccm_auth()
102 aes_encrypt(aes, a, out); in aes_ccm_encr()
109 aes_encrypt(aes, a, out); in aes_ccm_encr()
125 aes_encrypt(aes, a, tmp); in aes_ccm_encr_auth()
140 aes_encrypt(aes, a, tmp); in aes_ccm_decr_auth()
Daes-omac1.c85 aes_encrypt(ctx, cbc, cbc); in omac1_aes_vector()
90 aes_encrypt(ctx, pad, pad); in omac1_aes_vector()
114 aes_encrypt(ctx, pad, mac); in omac1_aes_vector()
Daes-gcm.c158 aes_encrypt(aes, cb, ypos); in aes_gctr()
168 aes_encrypt(aes, cb, tmp); in aes_gctr()
185 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey()
Daes-encblock.c29 aes_encrypt(ctx, in, out); in aes_128_encrypt_block()
Daes.h15 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
Daes-wrap.c56 aes_encrypt(ctx, b, b); in aes_wrap()
Daes-ctr.c40 aes_encrypt(ctx, counter, buf); in aes_ctr_encrypt()
Daes-cbc.c43 aes_encrypt(ctx, cbc, cbc); in aes_128_cbc_encrypt()
Daes-internal-enc.c119 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() function
Dcrypto_nettle.c15 #undef aes_encrypt
261 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() function
Dcrypto_internal-cipher.c123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes-ccm.c44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start()
54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start()
59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
73 aes_encrypt(aes, x, x); in aes_ccm_auth()
79 aes_encrypt(aes, x, x); in aes_ccm_auth()
102 aes_encrypt(aes, a, out); in aes_ccm_encr()
109 aes_encrypt(aes, a, out); in aes_ccm_encr()
125 aes_encrypt(aes, a, tmp); in aes_ccm_encr_auth()
140 aes_encrypt(aes, a, tmp); in aes_ccm_decr_auth()
Daes-omac1.c85 aes_encrypt(ctx, cbc, cbc); in omac1_aes_vector()
90 aes_encrypt(ctx, pad, pad); in omac1_aes_vector()
114 aes_encrypt(ctx, pad, mac); in omac1_aes_vector()
Daes-gcm.c158 aes_encrypt(aes, cb, ypos); in aes_gctr()
168 aes_encrypt(aes, cb, tmp); in aes_gctr()
185 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey()
Daes-encblock.c29 aes_encrypt(ctx, in, out); in aes_128_encrypt_block()
Daes.h15 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
Daes-wrap.c56 aes_encrypt(ctx, b, b); in aes_wrap()
Daes-ctr.c40 aes_encrypt(ctx, counter, buf); in aes_ctr_encrypt()
Daes-cbc.c43 aes_encrypt(ctx, cbc, cbc); in aes_128_cbc_encrypt()
Daes-internal-enc.c119 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() function
Dcrypto_nettle.c15 #undef aes_encrypt
261 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() function
Dcrypto_internal-cipher.c123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
Dcrypto.h128 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
/third_party/ffmpeg/libavformat/
Dcrypto.c56 struct AVAES *aes_encrypt; member
166 c->aes_encrypt = av_aes_alloc(); in crypto_open2()
167 if (!c->aes_encrypt) { in crypto_open2()
171 ret = av_aes_init(c->aes_encrypt, c->encrypt_key, BLOCKSIZE * 8, 0); in crypto_open2()
348 av_aes_crypt(c->aes_encrypt, c->write_buf, c->pad, 1, c->encrypt_iv, 0); in crypto_write()
352 av_aes_crypt(c->aes_encrypt, in crypto_write()
375 if (c->aes_encrypt) { in crypto_close()
380 av_aes_crypt(c->aes_encrypt, out_buf, c->pad, 1, c->encrypt_iv, 0); in crypto_close()
386 av_freep(&c->aes_encrypt); in crypto_close()
/third_party/ffmpeg/libavutil/
Daes.c131 static void aes_encrypt(AVAES *a, uint8_t *dst, const uint8_t *src, in aes_encrypt() function
204 a->crypt = decrypt ? aes_decrypt : aes_encrypt; in av_aes_init()

12