Home
last modified time | relevance | path

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

/third_party/openssl/crypto/evp/
Dm_sha3.c33 static int init(EVP_MD_CTX *evp_ctx, unsigned char pad) in init() argument
35 KECCAK1600_CTX *ctx = evp_ctx->md_data; in init()
36 size_t bsz = evp_ctx->digest->block_size; in init()
43 ctx->md_size = evp_ctx->digest->md_size; in init()
52 static int sha3_init(EVP_MD_CTX *evp_ctx) in sha3_init() argument
54 return init(evp_ctx, '\x06'); in sha3_init()
57 static int shake_init(EVP_MD_CTX *evp_ctx) in shake_init() argument
59 return init(evp_ctx, '\x1f'); in shake_init()
62 static int sha3_update(EVP_MD_CTX *evp_ctx, const void *_inp, size_t len) in sha3_update() argument
64 KECCAK1600_CTX *ctx = evp_ctx->md_data; in sha3_update()
[all …]
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c367 EVP_CIPHER_CTX *evp_ctx = NULL; in PKCS7_dataDecode() local
517 evp_ctx = NULL; in PKCS7_dataDecode()
518 BIO_get_cipher_ctx(etmp, &evp_ctx); in PKCS7_dataDecode()
519 if (EVP_CipherInit_ex(evp_ctx, evp_cipher, NULL, NULL, NULL, 0) <= 0) in PKCS7_dataDecode()
521 if (EVP_CIPHER_asn1_to_param(evp_ctx, enc_alg->parameter) < 0) in PKCS7_dataDecode()
524 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx); in PKCS7_dataDecode()
528 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) in PKCS7_dataDecode()
536 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) { in PKCS7_dataDecode()
542 if (!EVP_CIPHER_CTX_set_key_length(evp_ctx, eklen)) { in PKCS7_dataDecode()
552 if (EVP_CipherInit_ex(evp_ctx, NULL, NULL, ek, NULL, 0) <= 0) in PKCS7_dataDecode()
/third_party/boringssl/src/crypto/
DCMakeLists.txt274 evp/evp_ctx.c
/third_party/boringssl/
DBUILD.generated.gni105 "src/crypto/evp/evp_ctx.c",
/third_party/grpc/
Dconfig.m4652 third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c \
Dconfig.w32620 "third_party\\boringssl-with-bazel\\src\\crypto\\evp\\evp_ctx.c " +
Dgrpc.gyp1643 'third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c',
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_third_party4463 FILE: ../../../third_party/boringssl/src/crypto/evp/evp_ctx.c