Home
last modified time | relevance | path

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

/openssl/crypto/cms/
H A Dcms_kari.c215 unsigned char kek[EVP_MAX_KEY_LENGTH]; in cms_kek_cipher() local
225 if (EVP_PKEY_derive(kari->pctx, kek, &keklen) <= 0) in cms_kek_cipher()
228 if (!EVP_CipherInit_ex(kari->ctx, NULL, NULL, kek, NULL, enc)) in cms_kek_cipher()
243 OPENSSL_cleanse(kek, keklen); in cms_kek_cipher()
/openssl/test/
H A Devp_extra_test.c1650 unsigned char *kek = NULL; in test_EVP_Enveloped() local
1667 || !TEST_ptr(kek = OPENSSL_zalloc(EVP_PKEY_get_size(keypair))) in test_EVP_Enveloped()
1669 || !TEST_true(EVP_SealInit(ctx, type, &kek, &kek_len, iv, in test_EVP_Enveloped()
1679 if (!TEST_true(EVP_OpenInit(ctx, type, kek, kek_len, iv, keypair)) in test_EVP_Enveloped()
1693 OPENSSL_free(kek); in test_EVP_Enveloped()
/openssl/crypto/err/
H A Dopenssl.txt351 CMS_R_NOT_KEK:123:not kek
397 CMS_R_UNSUPPORTED_KEK_ALGORITHM:153:unsupported kek algorithm

Completed in 22 milliseconds