Lines Matching refs:key
36 union aegis_block key; member
64 const union aegis_block *key,
110 const union aegis_block *key, in crypto_aegis128_init() argument
116 key_iv = *key; in crypto_aegis128_init()
122 state->blocks[3] = *key; in crypto_aegis128_init()
123 state->blocks[4] = *key; in crypto_aegis128_init()
129 crypto_aegis128_update_a(state, key); in crypto_aegis128_init()
370 static int crypto_aegis128_setkey(struct crypto_aead *aead, const u8 *key, in crypto_aegis128_setkey() argument
378 memcpy(ctx->key.bytes, key, AEGIS128_KEY_SIZE); in crypto_aegis128_setkey()
404 crypto_aegis128_init_simd(&state, &ctx->key, req->iv); in crypto_aegis128_encrypt()
411 crypto_aegis128_init(&state, &ctx->key, req->iv); in crypto_aegis128_encrypt()
439 crypto_aegis128_init_simd(&state, &ctx->key, req->iv); in crypto_aegis128_decrypt()
446 crypto_aegis128_init(&state, &ctx->key, req->iv); in crypto_aegis128_decrypt()