• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/

Lines Matching refs:ecb

16 /* For CBC, direction of underlying ecb is the same as the cbc direction */
22 const struct ccmode_ecb *ecb=cc##_cipher_##_ecb_##_dir_##_mode(); \
23 ccmode_factory_cbc_##_dir_(&cbc_##_cipher_##_##_dir_, ecb); \
27 /* For CTR, only one direction, underlying ecb is always encrypt */
33 const struct ccmode_ecb *ecb=cc##_cipher_##_ecb_encrypt_mode(); \
34 ccmode_factory_ctr_crypt(&ctr_##_cipher_, ecb); \
44 const struct ccmode_ecb *ecb=cc##_cipher_##_ecb_encrypt_mode(); \
45 ccmode_factory_ofb_crypt(&ofb_##_cipher_, ecb); \
50 /* For CFB, the underlying ecb operation is encrypt for both directions */
56 const struct ccmode_ecb *ecb=cc##_cipher_##_ecb_encrypt_mode(); \
57 ccmode_factory_##_mode_##_##_dir_(&_mode_##_##_cipher_##_##_dir_, ecb); \
68 /* Fot XTS, you always need an ecb encrypt */
74 const struct ccmode_ecb *ecb=cc##_cipher_##_ecb_##_dir_##_mode(); \
77 ccmode_factory_xts_##_dir_(&xts##_cipher_##_##_dir_, ecb, ecb_enc); \
89 struct ccmode_ecb *ecb = cc3des_ecb_encrypt_mode();
90 ccmode_factory_cbc_encrypt(&cc3des_mode_encrypt, ecb);
121 const struct ccmode_ecb *ecb;
145 ecb decrypt mode implementation of some underlying algorithm as the ecb
149 const struct ccmode_ecb *ecb) {
150 struct ccmode_cbc cbc_decrypt = CCMODE_FACTORY_CBC_DECRYPT(ecb);
156 ecb encrypt mode implementation of some underlying algorithm as the ecb
160 const struct ccmode_ecb *ecb) {
161 struct ccmode_cbc cbc_encrypt = CCMODE_FACTORY_CBC_ENCRYPT(ecb);
175 const struct ccmode_ecb *ecb;
200 ecb encrypt mode implementation of some underlying algorithm as the ecb
204 const struct ccmode_ecb *ecb) {
205 struct ccmode_cfb cfb_decrypt = CCMODE_FACTORY_CFB_DECRYPT(ecb);
211 ecb encrypt mode implementation of some underlying algorithm as the ecb
215 const struct ccmode_ecb *ecb) {
216 struct ccmode_cfb cfb_encrypt = CCMODE_FACTORY_CFB_ENCRYPT(ecb);
229 const struct ccmode_ecb *ecb;
253 ecb decrypt mode implementation of some underlying algorithm as the ecb
257 const struct ccmode_ecb *ecb) {
258 struct ccmode_cfb8 cfb8_decrypt = CCMODE_FACTORY_CFB8_DECRYPT(ecb);
264 ecb encrypt mode implementation of some underlying algorithm as the ecb
268 const struct ccmode_ecb *ecb) {
269 struct ccmode_cfb8 cfb8_encrypt = CCMODE_FACTORY_CFB8_ENCRYPT(ecb);
279 const struct ccmode_ecb *ecb;
295 ecb encrypt mode implementation of some underlying algorithm as the ecb
299 const struct ccmode_ecb *ecb) {
300 struct ccmode_ctr ctr_crypt = CCMODE_FACTORY_CTR_CRYPT(ecb);
323 key must point to at least sizeof(CCMODE_GCM_KEY(ecb)) bytes of free
344 const struct ccmode_ecb *ecb;
397 ecb encrypt mode implementation of some underlying algorithm as the ecb
408 ecb encrypt mode implementation of some underlying algorithm as the ecb
437 const struct ccmode_ecb *ecb;
485 ecb encrypt mode implementation of some underlying algorithm as the ecb
496 ecb encrypt mode implementation of some underlying algorithm as the ecb
513 const struct ccmode_ecb *ecb;
529 ecb encrypt mode implementation of some underlying algorithm as the ecb
533 const struct ccmode_ecb *ecb) {
534 struct ccmode_ofb ofb_crypt = CCMODE_FACTORY_OFB_CRYPT(ecb);
547 key must point to at least sizeof(CCMODE_OMAC_KEY(ecb)) bytes of free
554 const struct ccmode_ecb *ecb;
579 ecb decrypt mode implementation of some underlying algorithm as the ecb
583 const struct ccmode_ecb *ecb) {
584 struct ccmode_omac omac_decrypt = CCMODE_FACTORY_OMAC_DECRYPT(ecb);
590 ecb encrypt mode implementation of some underlying algorithm as the ecb
594 const struct ccmode_ecb *ecb) {
595 struct ccmode_omac omac_encrypt = CCMODE_FACTORY_OMAC_ENCRYPT(ecb);
611 const struct ccmode_ecb *ecb;
652 ecb decrypt mode implementation of some underlying algorithm as the ecb
656 const struct ccmode_ecb *ecb,
658 struct ccmode_xts xts_decrypt = CCMODE_FACTORY_XTS_DECRYPT(ecb, ecb_encrypt);
664 ecb encrypt mode implementation of some underlying algorithm as the ecb
668 const struct ccmode_ecb *ecb,
670 struct ccmode_xts xts_encrypt = CCMODE_FACTORY_XTS_ENCRYPT(ecb, ecb_encrypt);