Home
last modified time | relevance | path

Searched refs:kw_ctx (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/cipher/
De_aes.c1239 struct aead_aes_key_wrap_ctx *kw_ctx; in aead_aes_key_wrap_init() local
1256 kw_ctx = OPENSSL_malloc(sizeof(struct aead_aes_key_wrap_ctx)); in aead_aes_key_wrap_init()
1257 if (kw_ctx == NULL) { in aead_aes_key_wrap_init()
1262 memcpy(kw_ctx->key, key, key_len); in aead_aes_key_wrap_init()
1263 kw_ctx->key_bits = key_bits; in aead_aes_key_wrap_init()
1265 ctx->aead_state = kw_ctx; in aead_aes_key_wrap_init()
1270 struct aead_aes_key_wrap_ctx *kw_ctx = ctx->aead_state; in aead_aes_key_wrap_cleanup() local
1271 OPENSSL_cleanse(kw_ctx, sizeof(struct aead_aes_key_wrap_ctx)); in aead_aes_key_wrap_cleanup()
1272 OPENSSL_free(kw_ctx); in aead_aes_key_wrap_cleanup()
1285 const struct aead_aes_key_wrap_ctx *kw_ctx = ctx->aead_state; in aead_aes_key_wrap_seal() local
[all …]