You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/02/18 23:45:33 UTC

[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2490: hw: driver: crypto: Mbed TLS alt improvements

apache-mynewt-bot removed a comment on pull request #2490:
URL: https://github.com/apache/mynewt-core/pull/2490#issuecomment-781647817


   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### hw/drivers/crypto/include/crypto/aes_alt.h
   <details>
   
   ```diff
   @@ -39,14 +39,14 @@
    void mbedtls_aes_init(mbedtls_aes_context *ctx);
    void mbedtls_aes_free(mbedtls_aes_context *ctx);
    int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key,
   -        unsigned int keybits);
   +                           unsigned int keybits);
    int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key,
   -        unsigned int keybits);
   +                           unsigned int keybits);
    int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx, int mode,
   -        const unsigned char input[16], unsigned char output[16]);
   +                          const unsigned char input[16], unsigned char output[16]);
    int mbedtls_aes_crypt_cbc(mbedtls_aes_context *ctx, int mode,
   -        size_t length, unsigned char iv[16], const unsigned char *input,
   -        unsigned char *output);
   +                          size_t length, unsigned char iv[16], const unsigned char *input,
   +                          unsigned char *output);
    
    #ifdef __cplusplus
    }
   ```
   
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org