- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for _encapsulate (0.19 sec)
-
src/crypto/internal/mlkem768/mlkem768_test.go
for i := 0; i < len(ek)-1; i++ { if _, _, err := Encapsulate(ek[:i]); err == nil { t.Errorf("expected error for ek length %d", i) } } ekLong := ek for i := 0; i < 100; i++ { ekLong = append(ekLong, 0) if _, _, err := Encapsulate(ekLong); err == nil { t.Errorf("expected error for ek length %d", len(ekLong)) } } c, _, err := Encapsulate(ek) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768.go
} return dk } // Encapsulate generates a shared key and an associated ciphertext from an // encapsulation key, drawing random bytes from crypto/rand. // If the encapsulation key is not valid, Encapsulate returns an error. // // The shared key must be kept secret. func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 28.4K bytes - Viewed (0) -
src/crypto/tls/key_schedule.go
K, err := mlkem768.Decapsulate(dk, c) if err != nil { return nil, err } return kyberSharedSecret(K, c), nil } // kyberEncapsulate implements encapsulation according to Kyber Round 3. func kyberEncapsulate(ek []byte) (c, ss []byte, err error) { c, ss, err = mlkem768.Encapsulate(ek) if err != nil { return nil, nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 14:56:25 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionExecutionTimeValue.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.file; /** * Encapsulates the logic for serializing and deserializing a file collection to and from the configuration cache. */ public interface FileCollectionExecutionTimeValue {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 14:55:28 UTC 2024 - 925 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DynamicLookupRoutine.java
import org.gradle.internal.metaobject.DynamicInvokeResult; import org.gradle.internal.metaobject.DynamicObject; import javax.annotation.Nullable; import java.util.Map; /** * Encapsulates the implementations of the common ways to interact with a {@link DynamicObject}. */ public interface DynamicLookupRoutine {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 09:49:31 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/BuildProcessState.java
import org.gradle.internal.service.scopes.GradleUserHomeScopeServiceRegistry; import org.gradle.internal.service.scopes.Scope; import java.io.Closeable; /** * Encapsulates the state of a build process, such as the Gradle daemon. An instance is created for each process that runs a build. */ public class BuildProcessState implements Closeable { private final ServiceRegistry services;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/asm/internal/arch/loong64.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file encapsulates some of the odd characteristics of the // Loong64 (LoongArch64) instruction set, to minimize its interaction // with the core of the assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/loong64" ) func jumpLoong64(word string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java
/** * Calculates the execution time value of this file collection. The resulting value is serialized to the configuration cache * and deserialized at execution time, utilizing the logic encapsulated within the value. */ default Optional<FileCollectionExecutionTimeValue> calculateExecutionTimeValue() { return Optional.empty(); } /** * Some representation of a source of files.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 14:55:28 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc
include::sample[dir="snippets/plugins/multiproject/groovy", files="settings.gradle[tags=include-subprojects];build.gradle[tags=plugins-on-subprojects];hello-a/build.gradle[];hello-b/build.gradle[];goodbye-c/build.gradle[]"] ==== You can also encapsulate the versions of external plugins by composing the build logic using your own <<sharing_build_logic_between_subprojects#sec:convention_plugins,convention plugins>>. [[sec:buildsrc_plugins_dsl]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 04:11:37 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/asm/internal/arch/ppc64.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file encapsulates some of the odd characteristics of the // 64-bit PowerPC (PPC64) instruction set, to minimize its interaction // with the core of the assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/ppc64" ) func jumpPPC64(word string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:53:50 UTC 2024 - 2.2K bytes - Viewed (0)