Home
last modified time | relevance | path

Searched refs:AES_KEY (Results 1 – 25 of 78) sorted by relevance

1234

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/
Dinternal.h80 AES_KEY *key);
82 AES_KEY *key);
83 void aes_hw_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key);
84 void aes_hw_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key);
86 const AES_KEY *key, uint8_t *ivec, const int enc);
88 const AES_KEY *key, const uint8_t ivec[16]);
97 AES_KEY *key) { in aes_hw_set_encrypt_key()
102 AES_KEY *key) { in aes_hw_set_decrypt_key()
107 const AES_KEY *key) { in aes_hw_encrypt()
112 const AES_KEY *key) { in aes_hw_decrypt()
[all …]
Daes.c64 void AES_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) { in AES_encrypt()
74 void AES_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) { in AES_decrypt()
84 int AES_set_encrypt_key(const uint8_t *key, unsigned bits, AES_KEY *aeskey) { in AES_set_encrypt_key()
97 int AES_set_decrypt_key(const uint8_t *key, unsigned bits, AES_KEY *aeskey) { in AES_set_decrypt_key()
Dmode_wrappers.c58 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt()
79 void AES_ecb_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key, in AES_ecb_encrypt()
92 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt()
110 const AES_KEY *key, uint8_t *ivec, int *num) { in AES_ofb128_encrypt()
117 const AES_KEY *key, uint8_t *ivec, int *num, in AES_cfb128_encrypt()
Dkey_wrap.c67 int AES_wrap_key(const AES_KEY *key, const uint8_t *iv, uint8_t *out, in AES_wrap_key()
106 static int aes_unwrap_key_inner(const AES_KEY *key, uint8_t *out, in aes_unwrap_key_inner()
140 int AES_unwrap_key(const AES_KEY *key, const uint8_t *iv, uint8_t *out, in AES_unwrap_key()
161 int AES_wrap_key_padded(const AES_KEY *key, uint8_t *out, size_t *out_len, in AES_wrap_key_padded()
202 int AES_unwrap_key_padded(const AES_KEY *key, uint8_t *out, size_t *out_len, in AES_unwrap_key_padded()
/external/boringssl/src/crypto/fipsmodule/aes/
Dinternal.h80 AES_KEY *key);
82 AES_KEY *key);
83 void aes_hw_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key);
84 void aes_hw_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key);
86 const AES_KEY *key, uint8_t *ivec, const int enc);
88 const AES_KEY *key, const uint8_t ivec[16]);
97 AES_KEY *key) { in aes_hw_set_encrypt_key()
102 AES_KEY *key) { in aes_hw_set_decrypt_key()
107 const AES_KEY *key) { in aes_hw_encrypt()
112 const AES_KEY *key) { in aes_hw_decrypt()
[all …]
Daes.c64 void AES_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) { in AES_encrypt()
74 void AES_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) { in AES_decrypt()
84 int AES_set_encrypt_key(const uint8_t *key, unsigned bits, AES_KEY *aeskey) { in AES_set_encrypt_key()
97 int AES_set_decrypt_key(const uint8_t *key, unsigned bits, AES_KEY *aeskey) { in AES_set_decrypt_key()
Dmode_wrappers.c58 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt()
79 void AES_ecb_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key, in AES_ecb_encrypt()
92 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt()
110 const AES_KEY *key, uint8_t *ivec, int *num) { in AES_ofb128_encrypt()
117 const AES_KEY *key, uint8_t *ivec, int *num, in AES_cfb128_encrypt()
Daes_test.cc45 AES_KEY aes_key; in TestRaw()
88 AES_KEY aes_key; in TestKeyWrap()
134 AES_KEY aes_key; in TestKeyWrapWithPadding()
183 AES_KEY aes; in TEST()
196 AES_KEY aes; in TEST()
226 AES_KEY aes; in TEST()
240 AES_KEY aes; in TEST()
252 AES_KEY aes; in TEST()
269 AES_KEY key; in TEST()
279 AES_KEY key; in TEST()
[all …]
Dkey_wrap.c67 int AES_wrap_key(const AES_KEY *key, const uint8_t *iv, uint8_t *out, in AES_wrap_key()
106 static int aes_unwrap_key_inner(const AES_KEY *key, uint8_t *out, in aes_unwrap_key_inner()
140 int AES_unwrap_key(const AES_KEY *key, const uint8_t *iv, uint8_t *out, in AES_unwrap_key()
161 int AES_wrap_key_padded(const AES_KEY *key, uint8_t *out, size_t *out_len, in AES_wrap_key_padded()
202 int AES_unwrap_key_padded(const AES_KEY *key, uint8_t *out, size_t *out_len, in AES_unwrap_key_padded()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Daes.h76 typedef struct aes_key_st AES_KEY; typedef
84 AES_KEY *aeskey);
92 AES_KEY *aeskey);
97 const AES_KEY *key);
102 const AES_KEY *key);
111 size_t len, const AES_KEY *key,
119 const AES_KEY *key, const int enc);
124 const AES_KEY *key, uint8_t *ivec,
131 size_t len, const AES_KEY *key,
138 size_t len, const AES_KEY *key,
[all …]
/external/boringssl/src/include/openssl/
Daes.h76 typedef struct aes_key_st AES_KEY; typedef
84 AES_KEY *aeskey);
92 AES_KEY *aeskey);
97 const AES_KEY *key);
102 const AES_KEY *key);
114 size_t len, const AES_KEY *key,
124 const AES_KEY *key, const int enc);
132 const AES_KEY *key, uint8_t *ivec,
141 size_t len, const AES_KEY *key,
150 size_t len, const AES_KEY *key,
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/
Dinternal.h98 const AES_KEY *key);
105 const AES_KEY *key, const uint8_t ivec[16]);
114 const AES_KEY *key, uint8_t ivec[16],
123 const AES_KEY *key, uint8_t ivec[16],
203 const AES_KEY *key, block128_f block,
208 OPENSSL_EXPORT void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const AES_KEY *key,
221 const AES_KEY *key, const uint8_t *in,
228 const AES_KEY *key, const uint8_t *in,
237 const AES_KEY *key,
247 const AES_KEY *key,
[all …]
Dcfb.c61 const AES_KEY *key, uint8_t ivec[16], unsigned *num, in CRYPTO_cfb128_encrypt()
132 const AES_KEY *key, uint8_t ivec[16], int enc, in cfbr_encrypt_block()
174 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cfb128_1_encrypt()
191 size_t length, const AES_KEY *key, in CRYPTO_cfb128_8_encrypt()
Dctr.c86 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt()
138 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt_ctr32()
Dcbc.c58 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cbc128_encrypt()
98 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cbc128_decrypt()
/external/boringssl/src/crypto/fipsmodule/modes/
Dinternal.h98 const AES_KEY *key);
105 const AES_KEY *key, const uint8_t ivec[16]);
114 const AES_KEY *key, uint8_t ivec[16],
123 const AES_KEY *key, uint8_t ivec[16],
203 const AES_KEY *key, block128_f block,
208 OPENSSL_EXPORT void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const AES_KEY *key,
221 const AES_KEY *key, const uint8_t *in,
228 const AES_KEY *key, const uint8_t *in,
237 const AES_KEY *key,
247 const AES_KEY *key,
[all …]
Dcfb.c61 const AES_KEY *key, uint8_t ivec[16], unsigned *num, in CRYPTO_cfb128_encrypt()
132 const AES_KEY *key, uint8_t ivec[16], int enc, in cfbr_encrypt_block()
174 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cfb128_1_encrypt()
191 size_t length, const AES_KEY *key, in CRYPTO_cfb128_8_encrypt()
Dctr.c86 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt()
138 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt_ctr32()
/external/rust/crates/ring/src/aead/
Daes.rs19 inner: AES_KEY,
26 fn $name(user_key: *const u8, bits: c::uint, key: &mut AES_KEY) -> c::int;
34 f: unsafe extern "C" fn(*const u8, c::uint, &mut AES_KEY) -> c::int, in set_encrypt_key()
37 key: &mut AES_KEY, in set_encrypt_key() argument
50 fn $name(a: &Block, r: *mut Block, key: &AES_KEY);
58 f: unsafe extern "C" fn(&Block, *mut Block, &AES_KEY), in encrypt_block_() argument
76 key: &AES_KEY,
90 key: &AES_KEY, in ctr32_encrypt_blocks_() argument
95 key: &AES_KEY, in ctr32_encrypt_blocks_()
129 let mut key = AES_KEY { in new()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_aesccm.c74 static int CRYPTO_ccm128_init(struct ccm128_context *ctx, const AES_KEY *key, in CRYPTO_ccm128_init()
93 struct ccm128_state *state, const AES_KEY *key, in ccm128_init_state()
181 struct ccm128_state *state, const AES_KEY *key, in ccm128_encrypt()
202 struct ccm128_state *state, const AES_KEY *key, in ccm128_compute_mac()
243 const AES_KEY *key, uint8_t *out, in CRYPTO_ccm128_encrypt()
256 const AES_KEY *key, uint8_t *out, in CRYPTO_ccm128_decrypt()
273 AES_KEY ks;
/external/boringssl/src/crypto/cipher_extra/
De_aesccm.c74 static int CRYPTO_ccm128_init(struct ccm128_context *ctx, const AES_KEY *key, in CRYPTO_ccm128_init()
93 struct ccm128_state *state, const AES_KEY *key, in ccm128_init_state()
181 struct ccm128_state *state, const AES_KEY *key, in ccm128_encrypt()
202 struct ccm128_state *state, const AES_KEY *key, in ccm128_compute_mac()
243 const AES_KEY *key, uint8_t *out, in CRYPTO_ccm128_encrypt()
256 const AES_KEY *key, uint8_t *out, in CRYPTO_ccm128_decrypt()
273 AES_KEY ks;
/external/boringssl/src/crypto/
Dimpl_dispatch_test.cc125 AES_KEY key; in TEST_F()
132 AES_KEY key; in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dimpl_dispatch_test.cc125 AES_KEY key; in TEST_F()
132 AES_KEY key; in TEST_F()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_keywrap_test.cc44 AES_KEY aes_key; in AESKeyWrap()
72 AES_KEY aes_key; in AESKeyWrapWithPadding()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_keywrap_test.cc44 AES_KEY aes_key; in AESKeyWrap()
72 AES_KEY aes_key; in AESKeyWrapWithPadding()

1234