Lines Matching refs:key
34 void (*encrypt)(const u64 *key, const u32 *input, u32 *output);
35 void (*decrypt)(const u64 *key, const u32 *input, u32 *output);
36 void (*load_encrypt_keys)(const u64 *key);
37 void (*load_decrypt_keys)(const u64 *key);
38 void (*ecb_encrypt)(const u64 *key, const u64 *input, u64 *output,
40 void (*ecb_decrypt)(const u64 *key, const u64 *input, u64 *output,
42 void (*cbc_encrypt)(const u64 *key, const u64 *input, u64 *output,
44 void (*cbc_decrypt)(const u64 *key, const u64 *input, u64 *output,
46 void (*ctr_crypt)(const u64 *key, const u64 *input, u64 *output,
52 u64 key[AES_MAX_KEYLENGTH / sizeof(u64)]; member
57 extern void aes_sparc64_encrypt_128(const u64 *key, const u32 *input,
59 extern void aes_sparc64_encrypt_192(const u64 *key, const u32 *input,
61 extern void aes_sparc64_encrypt_256(const u64 *key, const u32 *input,
64 extern void aes_sparc64_decrypt_128(const u64 *key, const u32 *input,
66 extern void aes_sparc64_decrypt_192(const u64 *key, const u32 *input,
68 extern void aes_sparc64_decrypt_256(const u64 *key, const u32 *input,
71 extern void aes_sparc64_load_encrypt_keys_128(const u64 *key);
72 extern void aes_sparc64_load_encrypt_keys_192(const u64 *key);
73 extern void aes_sparc64_load_encrypt_keys_256(const u64 *key);
75 extern void aes_sparc64_load_decrypt_keys_128(const u64 *key);
76 extern void aes_sparc64_load_decrypt_keys_192(const u64 *key);
77 extern void aes_sparc64_load_decrypt_keys_256(const u64 *key);
79 extern void aes_sparc64_ecb_encrypt_128(const u64 *key, const u64 *input,
81 extern void aes_sparc64_ecb_encrypt_192(const u64 *key, const u64 *input,
83 extern void aes_sparc64_ecb_encrypt_256(const u64 *key, const u64 *input,
86 extern void aes_sparc64_ecb_decrypt_128(const u64 *key, const u64 *input,
88 extern void aes_sparc64_ecb_decrypt_192(const u64 *key, const u64 *input,
90 extern void aes_sparc64_ecb_decrypt_256(const u64 *key, const u64 *input,
93 extern void aes_sparc64_cbc_encrypt_128(const u64 *key, const u64 *input,
97 extern void aes_sparc64_cbc_encrypt_192(const u64 *key, const u64 *input,
101 extern void aes_sparc64_cbc_encrypt_256(const u64 *key, const u64 *input,
105 extern void aes_sparc64_cbc_decrypt_128(const u64 *key, const u64 *input,
109 extern void aes_sparc64_cbc_decrypt_192(const u64 *key, const u64 *input,
113 extern void aes_sparc64_cbc_decrypt_256(const u64 *key, const u64 *input,
117 extern void aes_sparc64_ctr_crypt_128(const u64 *key, const u64 *input,
120 extern void aes_sparc64_ctr_crypt_192(const u64 *key, const u64 *input,
123 extern void aes_sparc64_ctr_crypt_256(const u64 *key, const u64 *input,
193 aes_sparc64_key_expand((const u32 *)in_key, &ctx->key[0], key_len); in aes_set_key()
203 ctx->ops->encrypt(&ctx->key[0], (const u32 *) src, (u32 *) dst); in aes_encrypt()
210 ctx->ops->decrypt(&ctx->key[0], (const u32 *) src, (u32 *) dst); in aes_decrypt()
227 ctx->ops->load_encrypt_keys(&ctx->key[0]); in ecb_encrypt()
232 ctx->ops->ecb_encrypt(&ctx->key[0], in ecb_encrypt()
257 ctx->ops->load_decrypt_keys(&ctx->key[0]); in ecb_decrypt()
258 key_end = &ctx->key[ctx->expanded_key_length / sizeof(u64)]; in ecb_decrypt()
287 ctx->ops->load_encrypt_keys(&ctx->key[0]); in cbc_encrypt()
292 ctx->ops->cbc_encrypt(&ctx->key[0], in cbc_encrypt()
317 ctx->ops->load_decrypt_keys(&ctx->key[0]); in cbc_decrypt()
318 key_end = &ctx->key[ctx->expanded_key_length / sizeof(u64)]; in cbc_decrypt()
345 ctx->ops->ecb_encrypt(&ctx->key[0], (const u64 *)ctrblk, in ctr_crypt_final()
364 ctx->ops->load_encrypt_keys(&ctx->key[0]); in ctr_crypt()
369 ctx->ops->ctr_crypt(&ctx->key[0], in ctr_crypt()