Home
last modified time | relevance | path

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

/src/crypto/krb5/src/lib/crypto/builtin/enc_provider/
H A Daes.c41 aes_decrypt_ctx dec_ctx; member
103 k5_iDecExpandKey128(key->keyblock.contents, cache->dec_ctx.ks); in aesni_expand_dec_key()
105 k5_iDecExpandKey256(key->keyblock.contents, cache->dec_ctx.ks); in aesni_expand_dec_key()
106 cache->dec_ctx.inf.l = 1; in aesni_expand_dec_key()
134 d.expanded_key = cache->dec_ctx.ks; in aesni_dec()
172 CACHE(key)->enc_ctx.inf.l = CACHE(key)->dec_ctx.inf.l = 0; in init_key_cache()
192 if (CACHE(key)->dec_ctx.inf.l != 0) in expand_dec_key()
197 &CACHE(key)->dec_ctx) != EXIT_SUCCESS) in expand_dec_key()
231 if (aes_decrypt(data, data, &CACHE(key)->dec_ctx) != EXIT_SUCCESS) in cbc_dec()
H A Dcamellia.c39 camellia_ctx enc_ctx, dec_ctx; member
61 CACHE(key)->enc_ctx.keybitlen = CACHE(key)->dec_ctx.keybitlen = 0; in init_key_cache()
78 if (CACHE(key)->dec_ctx.keybitlen) in expand_dec_key()
81 &CACHE(key)->dec_ctx) != camellia_good) in expand_dec_key()
108 if (camellia_dec_blk(data, data, &CACHE(key)->dec_ctx) != in cbc_dec()
/src/sys/crypto/openssl/
H A Dossl.h69 struct ossl_cipher_context dec_ctx; member
H A Dossl_aes.c111 key = s->dec_ctx; in ossl_aes_cbc()
201 memcpy(&ctx, &s->dec_ctx, sizeof(struct ossl_gcm_context)); in ossl_aes_gcm()
H A Dossl.c275 8 * csp->csp_cipher_klen, &s->cipher.dec_ctx); in ossl_newsession_cipher()