Searched refs:getCipherMode (Results 1 - 4 of 4) sorted by relevance
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonCryptorPriv.h | 108 const corecryptoMode getCipherMode(CCAlgorithm cipher, CCMode mode, CCOperation direction);
|
H A D | CommonSymmetricKeywrap.c | 87 const struct ccmode_ecb *ccmode = getCipherMode(kCCAlgorithmAES128, kCCModeECB, kCCEncrypt).ecb; 145 const struct ccmode_ecb *ccmode = getCipherMode(kCCAlgorithmAES128, kCCModeECB, kCCDecrypt).ecb;
|
H A D | CommonCryptor.c | 62 const corecryptoMode getCipherMode(CCAlgorithm cipher, CCMode mode, CCOperation direction) function 95 case kCCModeECB: if((ref->symMode[direction].ecb = getCipherMode(cipher, mode, direction).ecb) == NULL) return kCCUnimplemented; 97 case kCCModeCBC: if((ref->symMode[direction].cbc = getCipherMode(cipher, mode, direction).cbc) == NULL) return kCCUnimplemented; 99 case kCCModeCFB: if((ref->symMode[direction].cfb = getCipherMode(cipher, mode, direction).cfb) == NULL) return kCCUnimplemented; 101 case kCCModeCFB8: if((ref->symMode[direction].cfb8 = getCipherMode(cipher, mode, direction).cfb8) == NULL) return kCCUnimplemented; 103 case kCCModeCTR: if((ref->symMode[direction].ctr = getCipherMode(cipher, mode, direction).ctr) == NULL) return kCCUnimplemented; 105 case kCCModeOFB: if((ref->symMode[direction].ofb = getCipherMode(cipher, mode, direction).ofb) == NULL) return kCCUnimplemented; 107 case kCCModeXTS: if((ref->symMode[direction].xts = getCipherMode(cipher, mode, direction).xts) == NULL) return kCCUnimplemented; 109 case kCCModeGCM: if((ref->symMode[direction].gcm = getCipherMode(cipher, mode, direction).gcm) == NULL) return kCCUnimplemented; 111 case kCCModeCCM: if((ref->symMode[direction].ccm = getCipherMode(ciphe [all...] |
H A D | CommonCMAC.c | 112 const struct ccmode_ecb *aesmode = getCipherMode(kCCAlgorithmAES128, kCCModeECB, kCCEncrypt).ecb;
|
Completed in 118 milliseconds