Home | History | Annotate | Download | only in testprof

Lines Matching full:gcm

1381    fprintf(stderr, "GCM (no-precomp)\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1384 gcm_state gcm
1390 if ((err = gcm_init(&gcm, cipher_idx, key, 16)) != CRYPT_OK) { fprintf(stderr, "gcm_init: %s\n", error_to_string(err)); exit(EXIT_FAILURE); }
1396 if ((err = gcm_reset(&gcm)) != CRYPT_OK) {
1400 if ((err = gcm_add_iv(&gcm, IV, 16)) != CRYPT_OK) {
1404 if ((err = gcm_add_aad(&gcm, NULL, 0)) != CRYPT_OK) {
1408 if ((err = gcm_process(&gcm, buf, MAC_SIZE*1024, buf, GCM_ENCRYPT)) != CRYPT_OK) {
1413 if ((err = gcm_done(&gcm, tag, &z)) != CRYPT_OK) {
1420 fprintf(stderr, "GCM (precomp)\t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));