Lines Matching refs:op
41 ccmode_gcm_set_iv(cryptor->ctx[cryptor->op].gcm, ivLen, iv);
54 ccmode_gcm_gmac(cryptor->ctx[cryptor->op].gcm, aDataLen, aData);
88 ccmode_gcm_encrypt(cryptor->ctx[cryptor->op].gcm, dataInLength, dataIn, dataOut);
104 ccmode_gcm_decrypt(cryptor->ctx[cryptor->op].gcm, dataInLength, dataIn, dataOut);
119 ccmode_gcm_finalize(cryptor->ctx[cryptor->op].gcm, *tagLength, (void *)tag);
131 ccmode_gcm_reset(cryptor->ctx[cryptor->op].gcm);
138 CCOperation op, /* kCCEncrypt, kCCDecrypt */
155 CC_DEBUG_LOG(ASL_LEVEL_ERR, "Entering Op: %d Cipher: %d\n", op, alg);
157 retval = CCCryptorCreateWithMode(op, kCCModeGCM, alg, 0, NULL, key, keyLength,
171 if(op == kCCEncrypt)
173 else if(op == kCCDecrypt)