printf("================================================================================\n");
printf("Sample computation for KEM %s\n", kem->method_name);
+ printf("Version source: %s\n", kem->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(kem->length_public_key + 2 * sizeof(magic_t));
case KEM_KEYGEN:
printf("================================================================================\n");
printf("Executing keygen for KEM %s\n", kem->method_name);
+ printf("Version source: %s\n", kem->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(kem->length_public_key);
case KEM_ENCAPS:
printf("================================================================================\n");
printf("Executing encaps for KEM %s\n", kem->method_name);
+ printf("Version source: %s\n", kem->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(kem->length_public_key);
case KEM_DECAPS:
printf("================================================================================\n");
printf("Executing decaps for KEM %s\n", kem->method_name);
+ printf("Version source: %s\n", kem->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(kem->length_public_key);
printf("================================================================================\n");
printf("Sample computation for signature %s\n", sig->method_name);
+ printf("Version source: %s\n", sig->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(sig->length_public_key + 2 * sizeof(magic_t));
case SIG_KEYGEN:
printf("================================================================================\n");
printf("Executing keygen for SIGALG %s\n", sig->method_name);
+ printf("Version source: %s\n", sig->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(sig->length_public_key);
case SIG_SIGN:
printf("================================================================================\n");
printf("Executing sign for SIGALG %s\n", sig->method_name);
+ printf("Version source: %s\n", sig->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(sig->length_public_key);
case SIG_VERIFY:
printf("================================================================================\n");
printf("Executing verify for SIGALG %s\n", sig->method_name);
+ printf("Version source: %s\n", sig->alg_version);
printf("================================================================================\n");
public_key = OQS_MEM_malloc(sig->length_public_key);
printf("================================================================================\n");
printf("Sample computation for stateful signature %s\n", sig->method_name);
+ printf("Version source: %s\n", sig->alg_version);
printf("================================================================================\n");
secret_key = OQS_SIG_STFL_SECRET_KEY_new(sig->method_name);