FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/des3.c
/*
     * STM32F2/F4 hardware DES/3DES support through the standard
     * peripheral library. (See note in README).
     */
STM32F2/F4 hardware DES/3DES support through the standard
peripheral library. (See note in README).
STM32F2 / F4 hardware DES / 3DES support through the standard peripheral library . ( See note in README ) .
int wc_Des_SetKey(Des* des, const byte* key, const byte* iv, int dir)
    {
        word32 *dkey = des->key;
        (void)dir;
        XMEMCPY(dkey, key, 8);
    #ifndef WOLFSSL_STM32_CUBEMX
        ByteReverseWords(dkey, dkey, 8);
    #endif
        wc_Des_SetIV(des, iv);
        return 0;
    }
int wc_Des_SetKey ( Des * des , const byte * key , const byte * iv , int dir ) { word32 * dkey = des -> key ; ( void ) dir ; XMEMCPY ( dkey , key , 8 ) ; #ifndef WOLFSSL_STM32_CUBEMX ByteReverseWords ( dkey , dkey , 8 ) ; #endif wc_Des_SetIV ( des , iv ) ; return 0 ; }
STM32F2/F4 hardware DES/3DES support through the standard
 peripheral library.
STM32F2 / F4 hardware DES / 3DES support through the standard peripheral library .