Searched refs:g_crypto_funcs (Results 1 - 8 of 8) sorted by relevance

/darwin-on-arm/xnu/libkern/crypto/
H A Dregister_crypto.c33 crypto_functions_t g_crypto_funcs = NULL; variable
37 if(g_crypto_funcs)
40 g_crypto_funcs = funcs;
H A Dcorecrypto_sha2.c37 di=g_crypto_funcs->ccsha256_di;
43 g_crypto_funcs->ccdigest_init_fn(di, ctx->ctx);
49 di=g_crypto_funcs->ccsha256_di;
51 g_crypto_funcs->ccdigest_update_fn(di, ctx->ctx, len, data);
57 di=g_crypto_funcs->ccsha256_di;
65 di=g_crypto_funcs->ccsha384_di;
71 g_crypto_funcs->ccdigest_init_fn(di, ctx->ctx);
77 di=g_crypto_funcs->ccsha384_di;
79 g_crypto_funcs->ccdigest_update_fn(di, ctx->ctx, len, data);
86 di=g_crypto_funcs
[all...]
H A Dcorecrypto_des.c39 const struct ccmode_ecb *enc = g_crypto_funcs->ccdes_ecb_encrypt;
40 const struct ccmode_ecb *dec = g_crypto_funcs->ccdes_ecb_decrypt;
57 const struct ccmode_ecb *ecb = enc ? g_crypto_funcs->ccdes_ecb_encrypt : g_crypto_funcs->ccdes_ecb_decrypt;
67 const struct ccmode_ecb *enc = g_crypto_funcs->cctdes_ecb_encrypt;
68 const struct ccmode_ecb *dec = g_crypto_funcs->cctdes_ecb_decrypt;
85 const struct ccmode_ecb *ecb = enc ? g_crypto_funcs->cctdes_ecb_encrypt : g_crypto_funcs->cctdes_ecb_decrypt;
94 const struct ccmode_cbc *enc = g_crypto_funcs->ccdes_cbc_encrypt;
95 const struct ccmode_cbc *dec = g_crypto_funcs
[all...]
H A Dcorecrypto_aesxts.c51 if(!g_crypto_funcs)
54 enc = g_crypto_funcs->ccaes_xts_encrypt;
55 dec = g_crypto_funcs->ccaes_xts_decrypt;
75 const struct ccmode_xts *xtsenc = g_crypto_funcs->ccaes_xts_encrypt;
91 const struct ccmode_xts *xtsdec = g_crypto_funcs->ccaes_xts_decrypt;
H A Dcorecrypto_md5.c42 const struct ccdigest_info *di=g_crypto_funcs->ccmd5_di;
45 g_crypto_funcs->ccdigest_init_fn(di, di_ctx);
52 const struct ccdigest_info *di=g_crypto_funcs->ccmd5_di;
56 g_crypto_funcs->ccdigest_update_fn(di, di_ctx, len, data);
62 const struct ccdigest_info *di=g_crypto_funcs->ccmd5_di;
H A Dcorecrypto_aes.c37 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_encrypt;
51 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_encrypt;
68 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_decrypt;
82 const struct ccmode_cbc *cbc = g_crypto_funcs->ccaes_cbc_decrypt;
H A Dcorecrypto_sha1.c43 const struct ccdigest_info *di=g_crypto_funcs->ccsha1_di;
46 g_crypto_funcs->ccdigest_init_fn(di, di_ctx);
53 const struct ccdigest_info *di=g_crypto_funcs->ccsha1_di;
57 g_crypto_funcs->ccdigest_update_fn(di, di_ctx, len, data);
63 const struct ccdigest_info *di=g_crypto_funcs->ccsha1_di;
/darwin-on-arm/xnu/libkern/libkern/crypto/
H A Dcrypto_internal.h39 extern crypto_functions_t g_crypto_funcs;

Completed in 18 milliseconds