跳到主要内容

av_blowfish_crypt_ecb

搜索

函数 av_blowfish_crypt_ecb 

源代码
pub unsafe extern "C" fn av_blowfish_crypt_ecb(
    ctx: *mut AVBlowfish,
    xl: *mut u32,
    xr: *mut u32,
    decrypt: c_int,
)
展开描述

Encrypt or decrypt a buffer using a previously initialized context.

@param ctx an AVBlowfish context @param xl left four bytes halves of input to be encrypted @param xr right four bytes halves of input to be encrypted @param decrypt 0 for encryption, 1 for decryption