Searched refs:enc (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_aesxts.c | 49 const struct ccmode_xts *enc, *dec; local 54 enc = g_crypto_funcs->ccaes_xts_encrypt; 57 if(!enc && !dec) 58 panic("%s: xts mode not registered? enc=%p, dec=%p\n", __FUNCTION__, enc, dec); 61 if((enc->size>sizeof(xts->enc)) || (dec->size>sizeof(xts->dec))) 64 enc->init(enc, xts->enc, keyle [all...] |
H A D | corecrypto_des.c | 39 const struct ccmode_ecb *enc = g_crypto_funcs->ccdes_ecb_encrypt; local 43 if((enc->size>sizeof(ks->enc)) || (dec->size>sizeof(ks->dec))) 46 enc->init(enc, ks->enc, CCDES_KEY_SIZE, key); 55 void des_ecb_encrypt(des_cblock *in, des_cblock *out, des_ecb_key_schedule *ks, int enc) argument 57 const struct ccmode_ecb *ecb = enc ? g_crypto_funcs->ccdes_ecb_encrypt : g_crypto_funcs->ccdes_ecb_decrypt; 58 ccecb_ctx *ctx = enc ? ks->enc 67 const struct ccmode_ecb *enc = g_crypto_funcs->cctdes_ecb_encrypt; local 83 des3_ecb_encrypt(des_cblock *in, des_cblock *out, des3_ecb_key_schedule *ks, int enc) argument 94 const struct ccmode_cbc *enc = g_crypto_funcs->ccdes_cbc_encrypt; local 136 const struct ccmode_cbc *enc = g_crypto_funcs->cctdes_cbc_encrypt; local [all...] |
/darwin-on-arm/xnu/libkern/libkern/crypto/ |
H A D | des.h | 53 ccecb_ctx_decl(DES_ECB_CTX_MAX_SIZE, enc); 58 cccbc_ctx_decl(DES_CBC_CTX_MAX_SIZE, enc); 63 ccecb_ctx_decl(DES3_ECB_CTX_MAX_SIZE, enc); 68 cccbc_ctx_decl(DES3_CBC_CTX_MAX_SIZE, enc);
|
H A D | aesxts.h | 46 ccxts_ctx_decl(AES_XTS_CTX_MAX_SIZE, enc);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_utun_crypto_ipsec.c | 119 utun_ipsec_enc_to_sadb_ealg (if_utun_crypto_ipsec_enc_t enc) argument 121 switch (enc) { 435 printf("%s: invalid enc key len %d, max %d\n", __FUNCTION__,
|
Completed in 82 milliseconds