From c695ebe2a09cb7f9aaec3c435ab94d36a6d6aece Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 16 Jan 2015 09:21:50 +0000 Subject: Additional comment changes for reformat of 1.0.2 Reviewed-by: Tim Hudson --- engines/e_cswift.c | 6 ++++-- engines/e_padlock.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/e_cswift.c b/engines/e_cswift.c index 2e64ff3277..18c583d689 100644 --- a/engines/e_cswift.c +++ b/engines/e_cswift.c @@ -1065,9 +1065,11 @@ static int cswift_rand_bytes(unsigned char *buf, int num) { largenum.value = buf; largenum.nbytes = sizeof(buf32); - /* tell CryptoSwift how many bytes we want and where we want it. + /*- + * tell CryptoSwift how many bytes we want and where we want it. * Note: - CryptoSwift cannot do more than 4096 bytes at a time. - * - CryptoSwift can only do multiple of 32-bits. */ + * - CryptoSwift can only do multiple of 32-bits. + */ swrc = p_CSwift_SimpleRequest(hac, SW_CMD_RAND, NULL, 0, &largenum, 1); if (swrc != SW_OK) { diff --git a/engines/e_padlock.c b/engines/e_padlock.c index 6fb33b7812..50c536411f 100644 --- a/engines/e_padlock.c +++ b/engines/e_padlock.c @@ -293,7 +293,7 @@ struct padlock_cipher_data static volatile struct padlock_cipher_data *padlock_saved_context; #endif -/* +/*- * ======================================================= * Inline assembler section(s). * ======================================================= @@ -854,7 +854,7 @@ padlock_aes_init_key (EVP_CIPHER_CTX *ctx, const unsigned char *key, return 1; } -/* +/*- * Simplified version of padlock_aes_cipher() used when * 1) both input and output buffers are at aligned addresses. * or when -- cgit v1.2.3