From f397c8518313884e6f1a23cf0b6ab4277a9d234f Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Wed, 13 Jan 2021 12:42:44 +0100 Subject: [PATCH] cryptochip-gen-random: refresh the warning to use the new library application The newest version of cryptoauthlib provides a new test application to validate and lock the cryptochip configuration. Signed-off-by: Arturo Buzarra --- cryptochip-get-random/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptochip-get-random/main.c b/cryptochip-get-random/main.c index 52b2857..a849c1d 100644 --- a/cryptochip-get-random/main.c +++ b/cryptochip-get-random/main.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Digi International Inc. + * Copyright (c) 2017-2021 Digi International Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -30,7 +30,7 @@ int main(void) atcab_is_locked(LOCK_ZONE_CONFIG, &is_locked); if (!is_locked) { printf("**WARNING**: the cryptochip is currently not configured. Run " - "ecc-test-main at least once to be able to run this example.\n"); + "cryptoauth_test and lock the Config Zone to be able to run this example.\n"); atcab_release(); return 1; }