Lines Matching +full:mac +full:- +full:s
1 /*-
2 * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.
42 "The heart-ache, and the thousand natural shocks\n"
45 "To sleepe, perchance to dreame, Aye, there's the rub,\n"
48 "Must give us pause. There's the respect\n"
51 "The oppressor's wrong, the proud man's Contumely,\n"
52 "The pangs of dispised love, the Law's delay,\n"
55 /* The known value of the CMAC/AES256 MAC of the above soliloqy */
62 * A property query used for selecting the MAC implementation.
70 EVP_MAC *mac = NULL; in main() local
75 char cipher_name[] = "AES-256-CBC"; in main()
84 mac = EVP_MAC_fetch(library_context, "CMAC", propq); in main()
85 if (mac == NULL) { in main()
91 mctx = EVP_MAC_CTX_new(mac); in main()
114 /* Make a call to the final with a NULL buffer to get the length of the MAC */ in main()
124 /* Make one call to the final to get the MAC */ in main()
130 printf("Generated MAC:\n"); in main()
135 fprintf(stderr, "Generated MAC has an unexpected length\n"); in main()
140 fprintf(stderr, "Generated MAC does not match expected value\n"); in main()
151 EVP_MAC_free(mac); in main()