diff --git a/attestation/rats-tls/0001-add-virtcca-instance.patch b/attestation/rats-tls/0001-add-virtcca-instance.patch index afa38fb0e4feb1c9c7b619e1d0c6443353705542..709df305eaffa430db3d8c7ecae5436bc5c8f38d 100644 --- a/attestation/rats-tls/0001-add-virtcca-instance.patch +++ b/attestation/rats-tls/0001-add-virtcca-instance.patch @@ -868,7 +868,7 @@ index 0000000..3d08ff2 + goto out; + } + -+ /* ToDo: add verifiy ima-sig template */ ++ /* ToDo: add verify ima-sig template */ + + offset += field_len; + printf(" "); @@ -4374,7 +4374,7 @@ index e1a70e6..50c61e3 100644 + nonce[4], nonce[5], nonce[6], nonce[7]); + + if (nonce_buffer_size != nonce_size) { -+ RTLS_ERR("unmatched nonce lenth in claims buffer\n"); ++ RTLS_ERR("unmatched nonce length in claims buffer\n"); + ret = TLS_WRAPPER_ERR_INVALID; + goto err; + } @@ -4638,7 +4638,7 @@ index 20acd4f..2ef86df 100644 + + t_err = openssl_tls_get_nonce(tls_ctx, false, nonce_buffer, &nonce_buffer_size); + if (t_err != TLS_WRAPPER_ERR_NONE) { -+ RTLS_ERR("faild to get sent nonce %#x\n", t_err); ++ RTLS_ERR("failed to get sent nonce %#x\n", t_err); + return 0; + } + diff --git a/attestation/rim_ref/src/gen_rim_ref.c b/attestation/rim_ref/src/gen_rim_ref.c index 5bf900ec39d695cfb4c38c6374f53bb05e1ff97b..2ba832371a0a8414c846abdb27f5a05699a591c2 100644 --- a/attestation/rim_ref/src/gen_rim_ref.c +++ b/attestation/rim_ref/src/gen_rim_ref.c @@ -140,13 +140,13 @@ static int do_hash(enum hash_algo hash_algo, md = EVP_sha512(); break; default: - printf("Unspported hash algorithnm\n"); + printf("Unsupported hash algorithnm\n"); return 1; } mdctx = EVP_MD_CTX_new(); if (mdctx == NULL) { - printf("Failed to initialiaze digest contex\n"); + printf("Failed to initialize digest contex\n"); return 2; } diff --git a/attestation/sdk/include/attestation.h b/attestation/sdk/include/attestation.h index b1c45e47d5a9ff44c6bedc5d6ddd3ad7378e9547..29d957b5507a22d1017ad7cc051df77db6522285 100644 --- a/attestation/sdk/include/attestation.h +++ b/attestation/sdk/include/attestation.h @@ -44,7 +44,7 @@ int get_version(tsi_ctx *ctx, int *major, int *minor); * @brief Get attestation token. * @param ctx [IN] TSI context * @param challenge [IN] Challenge - * @param challenge_len [IN] Size of challenge. The maxinum value is 64. + * @param challenge_len [IN] Size of challenge. The maximum value is 64. * @param token [OUT] Attestation token * @param token_len [IN/OUT] Size of attestation token * @return TSI_SUCCESS Success diff --git a/confidential_container/attestation-service.patch b/confidential_container/attestation-service.patch index 802806bea46cae0b38a7662d39c2694c2b5b6b57..ba1967b5a7349ba257e761dbb7688c37256b450d 100644 --- a/confidential_container/attestation-service.patch +++ b/confidential_container/attestation-service.patch @@ -270,7 +270,7 @@ index 0000000..eae1fd1 + .arg(&digest_list_file) + .output()?; + if output.stdout.is_empty() { -+ log::error!("there is no refernce base value of file digest {:?}", hex_str_digest); ++ log::error!("there is no reference base value of file digest {:?}", hex_str_digest); + } + } +