Searched refs:ks (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_des.c | 37 int des_ecb_key_sched(des_cblock *key, des_ecb_key_schedule *ks) argument 43 if((enc->size>sizeof(ks->enc)) || (dec->size>sizeof(ks->dec))) 46 enc->init(enc, ks->enc, CCDES_KEY_SIZE, key); 47 dec->init(dec, ks->dec, CCDES_KEY_SIZE, key); 55 void des_ecb_encrypt(des_cblock *in, des_cblock *out, des_ecb_key_schedule *ks, int enc) argument 58 ccecb_ctx *ctx = enc ? ks->enc : ks->dec; 65 int des3_ecb_key_sched(des_cblock *key, des3_ecb_key_schedule *ks) argument 71 if((enc->size>sizeof(ks 83 des3_ecb_encrypt(des_cblock *in, des_cblock *out, des3_ecb_key_schedule *ks, int enc) argument 92 des_cbc_key_sched(des_cblock *key, des_cbc_key_schedule *ks) argument 112 des_cbc_encrypt(des_cblock *in, des_cblock *out, int32_t length, des_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt) argument 134 des3_cbc_key_sched(des_cblock *key, des3_cbc_key_schedule *ks) argument 153 des3_cbc_encrypt(des_cblock *in, des_cblock *out, int32_t length, des3_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt) argument 182 des_cbc_cksum(des_cblock *in, des_cblock *out, int len, des_cbc_key_schedule *ks) argument [all...] |
/darwin-on-arm/xnu/libkern/libkern/crypto/ |
H A D | des.h | 81 int des_ecb_key_sched(des_cblock *key, des_ecb_key_schedule *ks); 82 void des_ecb_encrypt(des_cblock *in, des_cblock *out, des_ecb_key_schedule *ks, int encrypt); 85 int des3_ecb_key_sched(des_cblock *key, des3_ecb_key_schedule *ks); 86 void des3_ecb_encrypt(des_cblock *block, des_cblock *, des3_ecb_key_schedule *ks, int encrypt); 89 int des_cbc_key_sched(des_cblock *key, des_cbc_key_schedule *ks); 91 des_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt); 94 int des3_cbc_key_sched(des_cblock *key, des3_cbc_key_schedule *ks); 96 des3_cbc_key_schedule *ks, des_cblock *iv, des_cblock *retiv, int encrypt); 99 void des_cbc_cksum(des_cblock *in, des_cblock *out, int len, des_cbc_key_schedule *ks);
|
Completed in 22 milliseconds