HomeSort by: relevance | last modified time | path
    Searched defs:ossl_cipher_ctx (Results 1 - 1 of 1) sorted by relevancy

  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
evp-openssl.c 95 struct ossl_cipher_ctx { struct
96 EVP_CIPHER_CTX *ossl_cipher_ctx; /* OpenSSL cipher ctx */ member in struct:ossl_cipher_ctx
114 struct ossl_cipher_ctx *ossl_ctx = ctx->cipher_data; /* EVP_CIPHER_CTX wrapper */
136 ossl_ctx->ossl_cipher_ctx = EVP_CIPHER_CTX_new();
137 if (ossl_ctx->ossl_cipher_ctx == NULL)
143 if (!EVP_CipherInit_ex(ossl_ctx->ossl_cipher_ctx, c, NULL, NULL, NULL, enc))
151 EVP_CIPHER_CTX_set_key_length(ossl_ctx->ossl_cipher_ctx, ctx->key_len);
153 return EVP_CipherInit_ex(ossl_ctx->ossl_cipher_ctx, NULL, NULL, key, iv, enc);
160 struct ossl_cipher_ctx *ossl_ctx = ctx->cipher_data;
163 return EVP_Cipher(ossl_ctx->ossl_cipher_ctx, out, in, len)
    [all...]

Completed in 23 milliseconds