/external/boringssl/src/include/openssl/ |
digest.h | 102 * An EVP_MD_CTX represents the state of a specific digest operation in 105 /* EVP_MD_CTX_init initialises an, already allocated, |EVP_MD_CTX|. */ 106 OPENSSL_EXPORT void EVP_MD_CTX_init(EVP_MD_CTX *ctx); 108 /* EVP_MD_CTX_create allocates and initialises a fresh |EVP_MD_CTX| and returns 110 OPENSSL_EXPORT EVP_MD_CTX *EVP_MD_CTX_create(void); 114 OPENSSL_EXPORT int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx); 117 OPENSSL_EXPORT void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); 121 OPENSSL_EXPORT int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); 129 OPENSSL_EXPORT int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type [all...] |
hmac.h | 150 EVP_MD_CTX md_ctx; 151 EVP_MD_CTX i_ctx; 152 EVP_MD_CTX o_ctx;
|
evp.h | 231 OPENSSL_EXPORT int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 237 OPENSSL_EXPORT int EVP_DigestSignUpdate(EVP_MD_CTX *ctx, const void *data, 248 OPENSSL_EXPORT int EVP_DigestSignFinal(EVP_MD_CTX *ctx, uint8_t *out_sig, 258 OPENSSL_EXPORT int EVP_DigestSignAlgorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor); 270 OPENSSL_EXPORT int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 282 OPENSSL_EXPORT int EVP_DigestVerifyInitFromAlgorithm(EVP_MD_CTX *ctx, 288 OPENSSL_EXPORT int EVP_DigestVerifyUpdate(EVP_MD_CTX *ctx, const void *data, 294 OPENSSL_EXPORT int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const uint8_t *sig, 306 OPENSSL_EXPORT int EVP_SignInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, 312 OPENSSL_EXPORT int EVP_SignInit(EVP_MD_CTX *ctx, const EVP_MD *type) [all...] |
/external/boringssl/src/crypto/digest/ |
internal.h | 79 void (*init)(EVP_MD_CTX *ctx); 82 void (*update)(EVP_MD_CTX *ctx, const void *data, size_t count); 85 void (*final)(EVP_MD_CTX *ctx, uint8_t *out); 95 * |EVP_MD_CTX| to be manipulated without breaking layering by calling EVP 98 /* free is called when an |EVP_MD_CTX| is being freed and the |pctx| also 102 /* dup is called when an |EVP_MD_CTX| is copied and so the |pctx| also needs
|
digests.c | 76 static void md4_init(EVP_MD_CTX *ctx) { 80 static void md4_update(EVP_MD_CTX *ctx, const void *data, size_t count) { 84 static void md4_final(EVP_MD_CTX *ctx, uint8_t *out) { 96 static void md5_init(EVP_MD_CTX *ctx) { 100 static void md5_update(EVP_MD_CTX *ctx, const void *data, size_t count) { 104 static void md5_final(EVP_MD_CTX *ctx, uint8_t *out) { 116 static void sha1_init(EVP_MD_CTX *ctx) { 120 static void sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count) { 124 static void sha1_final(EVP_MD_CTX *ctx, uint8_t *md) { 136 static void sha224_init(EVP_MD_CTX *ctx) [all...] |
digest.c | 78 void EVP_MD_CTX_init(EVP_MD_CTX *ctx) { memset(ctx, 0, sizeof(EVP_MD_CTX)); } 80 EVP_MD_CTX *EVP_MD_CTX_create(void) { 81 EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof(EVP_MD_CTX)); 90 int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) { 106 void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx) { 115 int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in) { 160 int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in) [all...] |
/external/boringssl/src/crypto/evp/ |
sign.c | 65 int EVP_SignInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) { 69 int EVP_SignInit(EVP_MD_CTX *ctx, const EVP_MD *type) { 73 int EVP_SignUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { 77 int EVP_SignFinal(const EVP_MD_CTX *ctx, uint8_t *sig, 82 EVP_MD_CTX tmp_ctx; 111 int EVP_VerifyInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) { 115 int EVP_VerifyInit(EVP_MD_CTX *ctx, const EVP_MD *type) { 119 int EVP_VerifyUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { 123 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const uint8_t *sig, size_t sig_len, 128 EVP_MD_CTX tmp_ctx [all...] |
digestsign.c | 69 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 106 int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, 111 int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 116 int EVP_DigestSignUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { 120 int EVP_DigestVerifyUpdate(EVP_MD_CTX *ctx, const void *data, size_t len) { 124 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, uint8_t *out_sig, 127 EVP_MD_CTX tmp_ctx; 145 int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const uint8_t *sig, 147 EVP_MD_CTX tmp_ctx;
|
algorithm.c | 69 int EVP_DigestSignAlgorithm(EVP_MD_CTX *ctx, X509_ALGOR *algor) { 113 int EVP_DigestVerifyInitFromAlgorithm(EVP_MD_CTX *ctx,
|
/external/tpm2/ |
OsslCryptoEngine.h | 47 void (*init)(EVP_MD_CTX *ctx); 50 void (*update)(EVP_MD_CTX *ctx, const void *data, size_t count); 53 void (*final)(EVP_MD_CTX *ctx, uint8_t *out);
|
CpriHash.c | 15 EVP_MD_CTX context; 83 EVP_MD_CTX *ctxt, // IN: Context to marshal 104 EVP_MD_CTX *ctxt, // OUT: The context structure to receive the 163 // NUMBYTES evpCtxSize = sizeof(EVP_MD_CTX); 305 EVP_MD_CTX localState; 308 EVP_MD_CTX *context; 360 EVP_MD_CTX localContext; 363 EVP_MD_CTX *context; 411 EVP_MD_CTX localState; 414 EVP_MD_CTX *context [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLMessageDigestJDK.java | 27 private final NativeRef.EVP_MD_CTX ctx; 45 * Whether the digest struct has been initialized inside EVP_MD_CTX. 55 NativeRef.EVP_MD_CTX ctxLocal = new NativeRef.EVP_MD_CTX(NativeCrypto.EVP_MD_CTX_create()); 59 private OpenSSLMessageDigestJDK(long evp_md, int size, NativeRef.EVP_MD_CTX ctx, 69 final NativeRef.EVP_MD_CTX ctxLocal = ctx; 78 // allocating a new EVP_MD_CTX by invoking EVP_MD_CTX_cleanup on the existing one. 79 // EVP_MD_CTX_cleanup cleans up and reinitializes the EVP_MD_CTX. 80 final NativeRef.EVP_MD_CTX ctxLocal = ctx; 148 // 1. No need to wipe EVP_MD_CTX because EVP_DigestFinal_ex has already cleansed an [all...] |
NativeRef.java | 108 public static class EVP_MD_CTX extends NativeRef { 109 public EVP_MD_CTX(long ctx) {
|
OpenSSLSignature.java | 44 private NativeRef.EVP_MD_CTX ctx; 87 NativeRef.EVP_MD_CTX ctxLocal = new NativeRef.EVP_MD_CTX(NativeCrypto.EVP_MD_CTX_create()); 116 final NativeRef.EVP_MD_CTX ctxLocal = ctx; 158 final NativeRef.EVP_MD_CTX ctxLocal = ctx; 238 final NativeRef.EVP_MD_CTX ctxLocal = ctx; 254 final NativeRef.EVP_MD_CTX ctxLocal = ctx;
|
NativeCrypto.java | 226 public static native void EVP_MD_CTX_cleanup(NativeRef.EVP_MD_CTX ctx); 230 public static native int EVP_MD_CTX_copy_ex(NativeRef.EVP_MD_CTX dst_ctx, 231 NativeRef.EVP_MD_CTX src_ctx); 235 public static native int EVP_DigestInit_ex(NativeRef.EVP_MD_CTX ctx, long evp_md); 237 public static native void EVP_DigestUpdate(NativeRef.EVP_MD_CTX ctx, 240 public static native void EVP_DigestUpdateDirect(NativeRef.EVP_MD_CTX ctx, 243 public static native int EVP_DigestFinal_ex(NativeRef.EVP_MD_CTX ctx, byte[] hash, 248 public static native long EVP_DigestSignInit(NativeRef.EVP_MD_CTX ctx, 251 public static native long EVP_DigestVerifyInit(NativeRef.EVP_MD_CTX ctx, 254 public static native void EVP_DigestSignUpdate(NativeRef.EVP_MD_CTX ctx [all...] |
/external/libchrome/crypto/ |
signature_creator.h | 18 typedef struct env_md_ctx_st EVP_MD_CTX; 65 EVP_MD_CTX* sign_context_;
|
scoped_openssl_types.h | 52 using ScopedEVP_MD_CTX = ScopedOpenSSL<EVP_MD_CTX, EVP_MD_CTX_destroy>;
|
/external/webrtc/webrtc/base/ |
openssldigest.h | 44 EVP_MD_CTX ctx_;
|
/external/boringssl/src/crypto/x509/ |
a_sign.c | 72 EVP_MD_CTX ctx; 85 ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx)
|
a_verify.c | 77 EVP_MD_CTX ctx;
|
/system/keymaster/ |
openssl_utils.h | 37 EvpMdCtxCleaner(EVP_MD_CTX* ctx) : ctx_(ctx) {} 41 EVP_MD_CTX* ctx_;
|
iso18033kdf.cpp | 39 EVP_MD_CTX ctx;
|
/external/boringssl/src/ssl/ |
s3_enc.c | 172 EVP_MD_CTX md5; 173 EVP_MD_CTX sha1; 249 static int init_digest_with_data(EVP_MD_CTX *ctx, const EVP_MD *md, 340 EVP_MD_CTX ctx; 341 const EVP_MD_CTX *ctx_template;
|
/external/boringssl/src/crypto/cipher/ |
derive_key.c | 72 EVP_MD_CTX c;
|
/external/boringssl/src/tool/ |
digest.cc | 133 EVP_MD_CTX ctx; 135 std::unique_ptr<EVP_MD_CTX, func_delete<EVP_MD_CTX, int, EVP_MD_CTX_cleanup>> 139 fprintf(stderr, "Failed to initialize EVP_MD_CTX.\n");
|