Searched refs:HMAC_CTX (Results 1 - 25 of 25) sorted by relevance

/external/boringssl/include/openssl/
H A Dhmac.h88 * that HMAC_CTX objects will be allocated on the stack thus no allocation
89 * function is provided. If needed, allocate |sizeof(HMAC_CTX)| and call
91 OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx);
94 OPENSSL_EXPORT void HMAC_CTX_cleanup(HMAC_CTX *ctx);
96 /* HMAC_Init_ex sets up an initialised |HMAC_CTX| to use |md| as the hash
105 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
110 OPENSSL_EXPORT int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data,
117 OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out,
125 OPENSSL_EXPORT size_t HMAC_size(const HMAC_CTX *ctx);
130 OPENSSL_EXPORT int HMAC_CTX_copy_ex(HMAC_CTX *des
[all...]
H A Dbase.h221 typedef struct hmac_ctx_st HMAC_CTX; typedef in typeref:struct:hmac_ctx_st
H A Dssl.h1773 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,
3615 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
/external/boringssl/src/include/openssl/
H A Dhmac.h88 * that HMAC_CTX objects will be allocated on the stack thus no allocation
89 * function is provided. If needed, allocate |sizeof(HMAC_CTX)| and call
91 OPENSSL_EXPORT void HMAC_CTX_init(HMAC_CTX *ctx);
94 OPENSSL_EXPORT void HMAC_CTX_cleanup(HMAC_CTX *ctx);
96 /* HMAC_Init_ex sets up an initialised |HMAC_CTX| to use |md| as the hash
105 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
110 OPENSSL_EXPORT int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data,
117 OPENSSL_EXPORT int HMAC_Final(HMAC_CTX *ctx, uint8_t *out,
125 OPENSSL_EXPORT size_t HMAC_size(const HMAC_CTX *ctx);
130 OPENSSL_EXPORT int HMAC_CTX_copy_ex(HMAC_CTX *des
[all...]
H A Dbase.h221 typedef struct hmac_ctx_st HMAC_CTX; typedef in typeref:struct:hmac_ctx_st
H A Dssl.h1773 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,
3615 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
/external/boringssl/src/crypto/hmac/
H A Dhmac.c68 HMAC_CTX ctx;
89 void HMAC_CTX_init(HMAC_CTX *ctx) {
96 void HMAC_CTX_cleanup(HMAC_CTX *ctx) {
100 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX));
103 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
167 int HMAC_Update(HMAC_CTX *ctx, const uint8_t *data, size_t data_len) {
171 int HMAC_Final(HMAC_CTX *ctx, uint8_t *out, unsigned int *out_len) {
188 size_t HMAC_size(const HMAC_CTX *ctx) {
192 int HMAC_CTX_copy_ex(HMAC_CTX *dest, const HMAC_CTX *sr
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLMac.java30 private NativeRef.HMAC_CTX ctx;
83 NativeRef.HMAC_CTX ctxLocal = new NativeRef.HMAC_CTX(NativeCrypto.HMAC_CTX_new());
99 final NativeRef.HMAC_CTX ctxLocal = ctx;
137 final NativeRef.HMAC_CTX ctxLocal = ctx;
144 final NativeRef.HMAC_CTX ctxLocal = ctx;
H A DNativeRef.java138 public static class HMAC_CTX extends NativeRef { class in class:NativeRef
139 public HMAC_CTX(long ctx) { method in class:NativeRef.HMAC_CTX
H A DNativeCrypto.java338 public static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md);
340 public static native void HMAC_Update(NativeRef.HMAC_CTX ctx, byte[] in, int inOffset, int inLength);
342 public static native void HMAC_UpdateDirect(NativeRef.HMAC_CTX ctx, long inPtr, int inLength);
344 public static native byte[] HMAC_Final(NativeRef.HMAC_CTX ctx);
/external/libweave/third_party/libuweave/src/
H A Dcrypto_hmac.c20 HMAC_CTX context = {0};
/external/boringssl/src/crypto/evp/
H A Dpbkdf.c70 HMAC_CTX hctx_tpl, hctx;
/external/boringssl/src/crypto/hkdf/
H A Dhkdf.c35 HMAC_CTX hmac;
/external/boringssl/src/crypto/test/
H A Dscoped_types.h129 using ScopedHMAC_CTX = ScopedOpenSSLContext<HMAC_CTX, void, HMAC_CTX_init,
/external/ipsec-tools/src/racoon/
H A Dcrypto_openssl.c1842 HMAC_CTX *c = racoon_malloc(sizeof(*c));
1879 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
1892 HMAC_Final((HMAC_CTX *)c, (unsigned char *) res->v, &l);
1894 HMAC_cleanup((HMAC_CTX *)c);
1936 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
1949 HMAC_Final((HMAC_CTX *)c, (unsigned char *) res->v, &l);
1951 HMAC_cleanup((HMAC_CTX *)c);
1993 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l);
2006 HMAC_Final((HMAC_CTX *)c, (unsigned char *) res->v, &l);
2008 HMAC_cleanup((HMAC_CTX *)
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_openssl.c37 static HMAC_CTX * HMAC_CTX_new(void)
39 HMAC_CTX *ctx;
48 static void HMAC_CTX_free(HMAC_CTX *ctx)
734 HMAC_CTX *ctx;
826 HMAC_CTX *ctx;
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_openssl.c37 static HMAC_CTX * HMAC_CTX_new(void)
39 HMAC_CTX *ctx;
48 static void HMAC_CTX_free(HMAC_CTX *ctx)
734 HMAC_CTX *ctx;
826 HMAC_CTX *ctx;
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c37 static HMAC_CTX * HMAC_CTX_new(void)
39 HMAC_CTX *ctx;
48 static void HMAC_CTX_free(HMAC_CTX *ctx)
734 HMAC_CTX *ctx;
826 HMAC_CTX *ctx;
/external/boringssl/src/ssl/
H A Ds3_lib.c444 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,
H A Dt1_enc.c162 HMAC_CTX ctx, ctx_tmp, ctx_init;
H A Ds3_srvr.c2000 HMAC_CTX hctx;
H A Dt1_lib.c2494 HMAC_CTX hmac_ctx;
/external/boringssl/src/crypto/cipher/
H A De_tls.c34 HMAC_CTX hmac_ctx;
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp5142 HMAC_CTX* hmacCtx = reinterpret_cast<HMAC_CTX*>(OPENSSL_malloc(sizeof(HMAC_CTX)));
5144 jniThrowOutOfMemory(env, "Unable to allocate HMAC_CTX");
5153 HMAC_CTX* hmacCtx = reinterpret_cast<HMAC_CTX*>(hmacCtxRef);
5164 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(env, hmacCtxRef);
5186 HMAC_CTX* hmacCtx = fromContextObject<HMAC_CTX>(en
[all...]
/external/boringssl/src/ssl/test/
H A Dbssl_shim.cc569 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,

Completed in 325 milliseconds